[gtk+/gtk-3-22] shortcutssection: plug a tiny mem leak



commit 7e9077c79477dbf7a400ce3d2421e4475b7f7f3c
Author: Paolo Borelli <pborelli gnome org>
Date:   Sun Apr 30 16:02:15 2017 +0200

    shortcutssection: plug a tiny mem leak

 gtk/gtkshortcutssection.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkshortcutssection.c b/gtk/gtkshortcutssection.c
index e02a52d..8afea30 100644
--- a/gtk/gtkshortcutssection.c
+++ b/gtk/gtkshortcutssection.c
@@ -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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]