summaryrefslogtreecommitdiff
path: root/src/gtkext/gtkgraphdisplay.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-12-18 23:02:24 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-12-18 23:02:24 (GMT)
commit6c6c743daf3c1de391c9ff2586a7df60bd7b7759 (patch)
treedfac981d09a081867dfa99d9028211c20fcc3da8 /src/gtkext/gtkgraphdisplay.c
parentb8a99266e691ec5a2a13f10d6c775f4bdc0dbbc2 (diff)
Used the reference counter when providing basic block lists.
Diffstat (limited to 'src/gtkext/gtkgraphdisplay.c')
-rw-r--r--src/gtkext/gtkgraphdisplay.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gtkext/gtkgraphdisplay.c b/src/gtkext/gtkgraphdisplay.c
index 7721a44..955f540 100644
--- a/src/gtkext/gtkgraphdisplay.c
+++ b/src/gtkext/gtkgraphdisplay.c
@@ -672,6 +672,8 @@ static void gtk_graph_display_define_main_address(GtkGraphDisplay *display, cons
display->cluster = bootstrap_graph_cluster(GTK_DISPLAY_PANEL(display)->binary,
list, display->highlighted);
+ g_object_unref(G_OBJECT(list));
+
g_graph_cluster_place(display->cluster, display);
/**