projects
/
gtk+3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b899bb
)
emojichooser: Plug a memory leak
author
Timm Bäder
<mail@baedert.org>
Sun, 24 Sep 2017 16:15:41 +0000
(18:15 +0200)
committer
Daniel Boles
<dboles@src.gnome.org>
Sun, 24 Sep 2017 18:19:20 +0000
(19:19 +0100)
gtk/gtkemojichooser.c
patch
|
blob
|
history
diff --git
a/gtk/gtkemojichooser.c
b/gtk/gtkemojichooser.c
index 3f74f576afc40b84e144ecfbb7412d65d4d21a69..202ae09489bd84ca8e4412d192fda838cae901f3 100644
(file)
--- 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 ();