Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 80954
_ethumb_client_free(Ethumb_Client *client)
{
void *data;
+ EDBus_Object *obj;
if (!client->connected)
goto end_connection;
edbus_name_owner_changed_callback_del(client->conn, _ethumb_dbus_bus_name,
_ethumb_client_name_owner_changed,
client);
+ obj = edbus_proxy_object_get(client->proxy);
+ edbus_proxy_unref(client->proxy);
+ edbus_object_unref(obj);
edbus_connection_unref(client->conn);
if (client->connect.free_data)