[gnome-shell/wip/fmuellner/plug-a-memleak: 3/3] menutracker: Fix a small memory leak



commit c8e69a2154a053dc67f210ccb612dea19ec87ddd
Author: Florian Müllner <fmuellner gnome org>
Date:   Mon Feb 26 19:21:56 2018 +0100

    menutracker: Fix a small memory leak
    
    https://gitlab.gnome.org/GNOME/gnome-shell/issues/64

 src/gtkmenutrackeritem.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/gtkmenutrackeritem.c b/src/gtkmenutrackeritem.c
index bb9a1f415..b67b2dffd 100644
--- a/src/gtkmenutrackeritem.c
+++ b/src/gtkmenutrackeritem.c
@@ -200,6 +200,7 @@ gtk_menu_tracker_item_finalize (GObject *object)
   GtkMenuTrackerItem *self = GTK_MENU_TRACKER_ITEM (object);
 
   g_free (self->action_namespace);
+  g_free (self->action_and_target);
 
   if (self->observable)
     g_object_unref (self->observable);


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