Commit b418436b authored by Mirsal Ennaime's avatar Mirsal Ennaime

telepathy: Fix memleak

parent db1ba073
...@@ -257,6 +257,9 @@ static int SendToTelepathy( intf_thread_t *p_intf, const char *psz_msg ) ...@@ -257,6 +257,9 @@ static int SendToTelepathy( intf_thread_t *p_intf, const char *psz_msg )
p_reply = dbus_connection_send_with_reply_and_block( p_conn, p_msg, p_reply = dbus_connection_send_with_reply_and_block( p_conn, p_msg,
50, &error ); /* blocks 50ms maximum */ 50, &error ); /* blocks 50ms maximum */
if( dbus_error_is_set( &error ) )
dbus_error_free( &error );
dbus_message_unref( p_msg ); dbus_message_unref( p_msg );
if( p_reply == NULL ) if( p_reply == NULL )
{ /* MC is not active, or too slow. Better luck next time? */ { /* MC is not active, or too slow. Better luck next time? */
......
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