forked from AuroraMiddleware/gtk
Merge branch 'fix-issue-2014-gtk4' into 'master'
Fix a string leak in gtkemojicompletion.c [gtk4] Closes #2014 See merge request GNOME/gtk!993
This commit is contained in:
commit
a13d6bbbdf
@ -566,7 +566,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