summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-22 18:17:57 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-22 20:14:57 +0900
commitceee02948475dfe4b8313a974cc927374eadc54b (patch)
treec7d6ffc65bb0ef429d9a29320a34fb6c75d3b9e7 /src
parentc8a8ee3f5e04e4ca05c145880eda91cdf6e6eb4c (diff)
ethumbd - check eldbus_service_object_data_get return like everywhere
this fixes CID 1039338
Diffstat (limited to '')
-rw-r--r--src/bin/ethumb_client/ethumbd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/ethumb_client/ethumbd.c b/src/bin/ethumb_client/ethumbd.c
index 5e0959085a..92c2bb4a33 100644
--- a/src/bin/ethumb_client/ethumbd.c
+++ b/src/bin/ethumb_client/ethumbd.c
@@ -974,6 +974,7 @@ _ethumb_dbus_ethumb_new_cb(const Eldbus_Service_Interface *interface, const Eldb
974 Ethumbd *ed; 974 Ethumbd *ed;
975 975
976 ed = eldbus_service_object_data_get(interface, DAEMON); 976 ed = eldbus_service_object_data_get(interface, DAEMON);
977 if (!ed) goto end_new;
977 client = eldbus_message_sender_get(msg); 978 client = eldbus_message_sender_get(msg);
978 if (!client) 979 if (!client)
979 goto end_new; 980 goto end_new;