mirror of
https://code.videolan.org/videolan/vlc
synced 2024-09-04 09:11:33 +02:00
dbus: memory leak
This commit is contained in:
parent
2813269801
commit
37f6e51311
@ -872,6 +872,8 @@ PropertiesChangedSignal( intf_thread_t *p_intf,
|
|||||||
free( ppsz_properties[i] );
|
free( ppsz_properties[i] );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
free( ppsz_properties );
|
||||||
|
|
||||||
if( !dbus_message_iter_close_container( &args, &changed_properties ) )
|
if( !dbus_message_iter_close_container( &args, &changed_properties ) )
|
||||||
return DBUS_HANDLER_RESULT_NEED_MEMORY;
|
return DBUS_HANDLER_RESULT_NEED_MEMORY;
|
||||||
|
|
||||||
@ -882,8 +884,6 @@ PropertiesChangedSignal( intf_thread_t *p_intf,
|
|||||||
if( !dbus_message_iter_close_container( &args, &invalidated_properties ) )
|
if( !dbus_message_iter_close_container( &args, &invalidated_properties ) )
|
||||||
return DBUS_HANDLER_RESULT_NEED_MEMORY;
|
return DBUS_HANDLER_RESULT_NEED_MEMORY;
|
||||||
|
|
||||||
free( ppsz_properties );
|
|
||||||
|
|
||||||
SIGNAL_SEND;
|
SIGNAL_SEND;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user