[gnome-panel] status-notifier: plug a memory leak



commit 9674b3ca9000e0592892c24f85e6784c620e2dc8
Author: Colomban Wendling <cwendling hypra fr>
Date:   Mon Mar 13 18:47:56 2017 +0100

    status-notifier: plug a memory leak

 modules/external/status-notifier/sn-item-v0.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/modules/external/status-notifier/sn-item-v0.c b/modules/external/status-notifier/sn-item-v0.c
index 91fe41e..77ff290 100644
--- a/modules/external/status-notifier/sn-item-v0.c
+++ b/modules/external/status-notifier/sn-item-v0.c
@@ -911,6 +911,7 @@ get_all_cb (GObject      *source_object,
         g_debug ("property '%s' not handled!", key);
 
       g_variant_unref (value);
+      g_free (key);
     }
 
   g_variant_iter_free (iter);


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