From b873ee1f37e761e3717ab20fa048e9678a485ab2 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Mon, 12 Jun 2023 11:34:22 -0700 Subject: [PATCH] libsysprof-analyze: cleanup symbols array in finalize --- src/libsysprof-analyze/sysprof-callgraph.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libsysprof-analyze/sysprof-callgraph.c b/src/libsysprof-analyze/sysprof-callgraph.c index b56bb32e..c61ba0fb 100644 --- a/src/libsysprof-analyze/sysprof-callgraph.c +++ b/src/libsysprof-analyze/sysprof-callgraph.c @@ -150,6 +150,7 @@ sysprof_callgraph_finalize (GObject *object) SysprofCallgraph *self = (SysprofCallgraph *)object; g_clear_pointer (&self->symbol_to_summary, g_hash_table_unref); + g_clear_pointer (&self->symbols, g_ptr_array_unref); g_clear_object (&self->document); g_clear_object (&self->traceables);