diff --git a/gtk/gtkemojicompletion.c b/gtk/gtkemojicompletion.c index e432128ee7..4351f9d447 100644 --- a/gtk/gtkemojicompletion.c +++ b/gtk/gtkemojicompletion.c @@ -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);