shortcutssection: plug a tiny mem leak
authorPaolo Borelli <pborelli@gnome.org>
Sun, 30 Apr 2017 14:02:15 +0000 (16:02 +0200)
committerTimm Bäder <mail@baedert.org>
Fri, 5 May 2017 08:53:46 +0000 (10:53 +0200)
gtk/gtkshortcutssection.c

index e02a52db5c0f17eaab6039281f756f98eb207079..8afea30b67a0840b2e017bae1ea6cfc59bdc161f 100644 (file)
@@ -239,6 +239,7 @@ gtk_shortcuts_section_finalize (GObject *object)
 
   g_clear_pointer (&self->name, g_free);
   g_clear_pointer (&self->title, g_free);
+  g_clear_pointer (&self->view_name, g_free);
   g_clear_object (&self->pan_gesture);
 
   G_OBJECT_CLASS (gtk_shortcuts_section_parent_class)->finalize (object);