summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-07-21 19:51:50 -0400
committerMatthias Clasen <mclasen@redhat.com>2015-07-21 19:52:54 -0400
commit94187127821a31b3367ce7b60d4bd5f8e874f6cd (patch)
tree0cee24c0f0572ed966d327b23389c37d9354d505
parent3e6177d2ddaa2222b7ea9b6c618f188e8005b56a (diff)
downloadgtk+-94187127821a31b3367ce7b60d4bd5f8e874f6cd.tar.gz
places sidebar: Always chain up in finalize
The GtkSidebarRow class was forgetting to do this. The visible symptom of this in valgrind is that you notice GObject data being leaked.
-rw-r--r--gtk/gtksidebarrow.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtksidebarrow.c b/gtk/gtksidebarrow.c
index 64e1b209a4..e6470f1a55 100644
--- a/gtk/gtksidebarrow.c
+++ b/gtk/gtksidebarrow.c
@@ -298,6 +298,8 @@ gtk_sidebar_row_finalize (GObject *object)
g_clear_object (&self->drive);
g_clear_object (&self->volume);
g_clear_object (&self->mount);
+
+ G_OBJECT_CLASS (gtk_sidebar_row_parent_class)->finalize (object);
}
static void