[sysprof/wip/chergert/mem-preload] memprof: avoid double free



commit f21bc3e5a5ba89e961595105fde0ff8aa0795580
Author: Christian Hergert <chergert redhat com>
Date:   Tue Feb 4 16:56:00 2020 -0800

    memprof: avoid double free

 src/libsysprof/sysprof-memprof-profile.c | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/src/libsysprof/sysprof-memprof-profile.c b/src/libsysprof/sysprof-memprof-profile.c
index 0255d23..782df5f 100644
--- a/src/libsysprof/sysprof-memprof-profile.c
+++ b/src/libsysprof/sysprof-memprof-profile.c
@@ -79,7 +79,6 @@ generate_free (Generate *g)
   g_clear_pointer (&g->tags, g_hash_table_unref);
   g_clear_pointer (&g->resolved, g_array_unref);
   g_clear_object (&g->selection);
-  g_slice_free (Generate, g);
 }
 
 static Generate *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]