Commit 252729ee authored by Mike Gorse's avatar Mike Gorse

_atspi_dbus_set_interfaces: Fix memory leak when called with invalid signature

    Fixes #24
parent 93f804b1
......@@ -1404,7 +1404,7 @@ _atspi_dbus_set_interfaces (AtspiAccessible *accessible, DBusMessageIter *iter)
accessible->interfaces = 0;
if (strcmp (iter_sig, "as") != 0)
{
g_warning ("_atspi_dbus_set_interfaces: Passed iterator with invalid signature %s", dbus_message_iter_get_signature (iter));
g_warning ("_atspi_dbus_set_interfaces: Passed iterator with invalid signature %s", iter_sig);
dbus_free (iter_sig);
return;
}
......
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