mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-10 12:40:10 +00:00
emoji: Fix a leak
We were leaking the list of recently used Emoji here. Pointed out by Timm Bädert.
This commit is contained in:
parent
66d9f4fe95
commit
c7061d88a2
@ -560,6 +560,7 @@ gtk_emoji_chooser_init (GtkEmojiChooser *chooser)
|
|||||||
add_emoji (chooser->recent.box, FALSE, codes, item);
|
add_emoji (chooser->recent.box, FALSE, codes, item);
|
||||||
g_variant_iter_free (codes);
|
g_variant_iter_free (codes);
|
||||||
}
|
}
|
||||||
|
g_variant_unref (variant);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user