summaryrefslogtreecommitdiff
path: root/src/lib/eldbus/eldbus_model_proxy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/eldbus/eldbus_model_proxy.c')
-rw-r--r--src/lib/eldbus/eldbus_model_proxy.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/eldbus/eldbus_model_proxy.c b/src/lib/eldbus/eldbus_model_proxy.c
index 43a3779cef..430ccb2282 100644
--- a/src/lib/eldbus/eldbus_model_proxy.c
+++ b/src/lib/eldbus/eldbus_model_proxy.c
@@ -98,9 +98,13 @@ static Eina_Array const *
98_eldbus_model_proxy_efl_model_properties_get(Eo *obj EINA_UNUSED, 98_eldbus_model_proxy_efl_model_properties_get(Eo *obj EINA_UNUSED,
99 Eldbus_Model_Proxy_Data *pd) 99 Eldbus_Model_Proxy_Data *pd)
100{ 100{
101 Eina_Bool ret;
102
101 EINA_SAFETY_ON_NULL_RETURN_VAL(pd, NULL); 103 EINA_SAFETY_ON_NULL_RETURN_VAL(pd, NULL);
102 104
103 _eldbus_model_proxy_load(pd); 105 ret = _eldbus_model_proxy_load(pd);
106 if (!ret) return NULL;
107
104 return pd->properties_array; 108 return pd->properties_array;
105} 109}
106 110