From a711b2a262f2a3e48cd202463db683d272fb3694 Mon Sep 17 00:00:00 2001
From: Sergei Rashitov <sergei.rashitov@demlabs.net>
Date: Wed, 27 May 2020 13:30:17 +0700
Subject: [PATCH] Memory corruption

---
 modules/type/dag/dap_chain_cs_dag.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/type/dag/dap_chain_cs_dag.c b/modules/type/dag/dap_chain_cs_dag.c
index 38c3d260ca..698a24fe7a 100644
--- a/modules/type/dag/dap_chain_cs_dag.c
+++ b/modules/type/dag/dap_chain_cs_dag.c
@@ -1331,7 +1331,8 @@ static int s_cli_dag(int argc, char ** argv, void *arg_func, char **a_str_reply)
                                                      l_objs[i].key, ctime_r( &l_ts_create,buf ) );
 
                         }
-                        DAP_DELETE( l_gdb_group_events);
+                        // bugs-3932
+                        //DAP_DELETE( l_gdb_group_events);
                         if (l_objs && l_objs_count )
                             dap_chain_global_db_objs_delete(l_objs, l_objs_count);
                         ret = 0;
-- 
GitLab