summaryrefslogtreecommitdiff
path: root/src/analysis/disass
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis/disass')
-rw-r--r--src/analysis/disass/area.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/analysis/disass/area.c b/src/analysis/disass/area.c
index 74bdfd3..6698bb3 100644
--- a/src/analysis/disass/area.c
+++ b/src/analysis/disass/area.c
@@ -1073,6 +1073,12 @@ static void g_area_collector_dispose(GAreaCollector *collector)
static void g_area_collector_finalize(GAreaCollector *collector)
{
+ if (collector->run == (run_task_fc)g_area_collector_do_collect)
+ {
+ if (collector->collected != NULL)
+ free(collector->collected);
+ }
+
G_OBJECT_CLASS(g_area_collector_parent_class)->finalize(G_OBJECT(collector));
}