[gtk+/gtk-3-22] emojichooser: Plug a memory leak
- From: Daniel Boles <dboles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-22] emojichooser: Plug a memory leak
- Date: Sun, 24 Sep 2017 21:22:55 +0000 (UTC)
commit 3501a7ea41e57163b37f1ff2cbd46621168b8ddd
Author: Timm Bäder <mail baedert org>
Date: Sun Sep 24 18:15:41 2017 +0200
emojichooser: Plug a memory leak
gtk/gtkemojichooser.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkemojichooser.c b/gtk/gtkemojichooser.c
index 3f74f57..202ae09 100644
--- a/gtk/gtkemojichooser.c
+++ b/gtk/gtkemojichooser.c
@@ -336,7 +336,8 @@ add_emoji (GtkWidget *box,
if (code != 0)
p += g_unichar_to_utf8 (code, p);
}
- p[0] = 0;
+ g_variant_unref (codes);
+ p[0] = 0;
label = gtk_label_new (text);
attrs = pango_attr_list_new ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]