Commit abbc4e60 authored by Mike Gorse's avatar Mike Gorse

Fix possible memory leak

Thanks to Shimwoo Kim for spotting.
parent d8b6a4a0
......@@ -647,6 +647,7 @@ atspi_event_listener_register_from_callback_full (AtspiEventListenerCB callback,
callback_destroyed);
if (!convert_event_type_to_dbus (event_type, &e->category, &e->name, &e->detail, &matchrule_array))
{
g_free (e->event_type);
g_free (e);
return FALSE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment