[gtk+/gtk-3-22] emojichooser: Plug memory leak



commit 45198d2312d5aaa7c61f6f36a08c21b503931383
Author: Timm Bäder <mail baedert org>
Date:   Tue Oct 17 08:49:06 2017 +0200

    emojichooser: Plug memory leak

 gtk/gtkemojichooser.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkemojichooser.c b/gtk/gtkemojichooser.c
index 202ae09..1828b4d 100644
--- a/gtk/gtkemojichooser.c
+++ b/gtk/gtkemojichooser.c
@@ -400,6 +400,7 @@ populate_emoji_chooser (GtkEmojiChooser *chooser)
         box = chooser->flags.box;
 
       add_emoji (box, FALSE, item, 0);
+      g_variant_unref (item);
     }
 
   g_bytes_unref (bytes);


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