mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
a11y: Add missing value free function
We allocate the reference counter, so we need to free it.
This commit is contained in:
parent
5faa1c3d6e
commit
ae13a82a9a
@ -649,7 +649,7 @@ on_registered_events_reply (GObject *gobject,
|
||||
const char *sender, *event_name;
|
||||
|
||||
if (self->event_listeners == NULL)
|
||||
self->event_listeners = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
|
||||
self->event_listeners = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_free);
|
||||
|
||||
g_variant_get (listeners, "a(ss)", &iter);
|
||||
while (g_variant_iter_loop (iter, "(&s&s)", &sender, &event_name))
|
||||
|
Loading…
Reference in New Issue
Block a user