Merge branch 'fix-issue-2014' into 'gtk-3-24'

Fix a string leak in gtkemojicompletion.c [gtk3]

See merge request GNOME/gtk!992
This commit is contained in:
Timm Bäder 2019-07-12 09:42:34 +00:00
commit 5fe79b71f0

View File

@ -593,7 +593,6 @@ populate_completion (GtkEmojiCompletion *completion,
GVariantIter iter;
GVariant *item;
text = g_strdup (text);
g_free (completion->text);
completion->text = g_strdup (text);
completion->length = g_utf8_strlen (text, -1);