Commit fb09df79 authored by Chris Michael's avatar Chris Michael

eldbus: Check return value and error out if necessary

Coverity reports that we do not check the return value of
_eldbus_model_proxy_load here. We likely should be checking that in
case the model proxy fails to load so we can return proper values here.

Fixes Coverity CID1355233

Signed-off-by: default avatarChris Michael <>
parent 4555f5d5
......@@ -98,9 +98,13 @@ static Eina_Array const *
_eldbus_model_proxy_efl_model_properties_get(Eo *obj EINA_UNUSED,
Eldbus_Model_Proxy_Data *pd)
Eina_Bool ret;
ret = _eldbus_model_proxy_load(pd);
if (!ret) return NULL;
return pd->properties_array;
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