summaryrefslogtreecommitdiff
path: root/src/gtkext/gtkdisplaypanel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gtkext/gtkdisplaypanel.c')
-rw-r--r--src/gtkext/gtkdisplaypanel.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gtkext/gtkdisplaypanel.c b/src/gtkext/gtkdisplaypanel.c
index 4b21d8c..3623ced 100644
--- a/src/gtkext/gtkdisplaypanel.c
+++ b/src/gtkext/gtkdisplaypanel.c
@@ -231,8 +231,13 @@ static void gtk_display_panel_loaded_interface_init(GLoadedPanelInterface *iface
static void gtk_display_panel_dispose(GtkDisplayPanel *panel)
{
+ g_clear_object(&panel->hadjustment);
+ g_clear_object(&panel->vadjustment);
+
g_clear_object(&panel->options);
+ g_clear_object(&panel->binary);
+
G_OBJECT_CLASS(gtk_display_panel_parent_class)->dispose(G_OBJECT(panel));
}