Commit cdc85689 authored by Mirsal Ennaime's avatar Mirsal Ennaime

dbus: Oops, abandon the correct container on error paths

parent b1bb9b54
......@@ -857,7 +857,7 @@ PropertiesChangedSignal( intf_thread_t *p_intf,
if( unlikely(!ppsz_properties) )
{
dbus_message_iter_abandon_container( &args, &invalidated_properties );
dbus_message_iter_abandon_container( &args, &changed_properties );
return DBUS_HANDLER_RESULT_NEED_MEMORY;
}
......
......@@ -483,7 +483,7 @@ PropertiesChangedSignal( intf_thread_t *p_intf,
if( unlikely(!ppsz_properties) )
{
dbus_message_iter_abandon_container( &args, &invalidated_properties );
dbus_message_iter_abandon_container( &args, &changed_properties );
return DBUS_HANDLER_RESULT_NEED_MEMORY;
}
......
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