summaryrefslogtreecommitdiff
path: root/src/gui/tb
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/tb')
-rw-r--r--src/gui/tb/portions.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/tb/portions.c b/src/gui/tb/portions.c
index a8eb606..af7fc6c 100644
--- a/src/gui/tb/portions.c
+++ b/src/gui/tb/portions.c
@@ -241,6 +241,8 @@ static void change_portions_tbitem_current_content(GEditorItem *item, GLoadedCon
else
gtk_widget_hide(GTK_WIDGET(widget));
+ g_object_unref(G_OBJECT(widget));
+
}