summaryrefslogtreecommitdiff
path: root/src/lib/ethumb_client
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-07-04 08:41:45 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-07-04 08:41:45 +0900
commitbdd57af1136dd6c81244c15b0456ec06d10fa59e (patch)
tree056fd19f8bf8d525db2358a47a3885ad656a6bca /src/lib/ethumb_client
parent64f8ea918cda19f9178194aef8c630458708b73d (diff)
eldbus - only unref client conns that are not null after dispatch
Diffstat (limited to 'src/lib/ethumb_client')
-rw-r--r--src/lib/ethumb_client/ethumb_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ethumb_client/ethumb_client.c b/src/lib/ethumb_client/ethumb_client.c
index cbd3c960fe..3d62fa1205 100644
--- a/src/lib/ethumb_client/ethumb_client.c
+++ b/src/lib/ethumb_client/ethumb_client.c
@@ -238,7 +238,7 @@ end_connection:
238 obj = eldbus_proxy_object_get(client->proxy); 238 obj = eldbus_proxy_object_get(client->proxy);
239 eldbus_proxy_unref(client->proxy); 239 eldbus_proxy_unref(client->proxy);
240 eldbus_object_unref(obj); 240 eldbus_object_unref(obj);
241 eldbus_connection_unref(client->conn); 241 if (client->conn) eldbus_connection_unref(client->conn);
242 242
243 if (client->connect.free_data) 243 if (client->connect.free_data)
244 client->connect.free_data(client->connect.data); 244 client->connect.free_data(client->connect.data);