forked from AuroraMiddleware/gtk
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:
commit
5fe79b71f0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user