[gnome-flashback] libstatus-notifier-watcher: plug a memory leak



commit 3cf6ef30a27663555b0c0bce404c0569e4102872
Author: Colomban Wendling <cwendling hypra fr>
Date:   Tue Mar 14 16:13:44 2017 +0100

    libstatus-notifier-watcher: plug a memory leak

 .../libstatus-notifier-watcher/gf-sn-watcher-v0.c  |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gnome-flashback/libstatus-notifier-watcher/gf-sn-watcher-v0.c 
b/gnome-flashback/libstatus-notifier-watcher/gf-sn-watcher-v0.c
index 8e82c10..703f53b 100644
--- a/gnome-flashback/libstatus-notifier-watcher/gf-sn-watcher-v0.c
+++ b/gnome-flashback/libstatus-notifier-watcher/gf-sn-watcher-v0.c
@@ -78,6 +78,7 @@ update_registered_items (GfSnWatcherV0 *v0)
 
   gf_sn_watcher_v0_gen_set_registered_items (GF_SN_WATCHER_V0_GEN (v0), items);
   g_variant_unref (variant);
+  g_free (items);
 }
 
 static void


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