summaryrefslogtreecommitdiff
path: root/src/lib/eldbus
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2018-03-14 15:17:07 -0400
committerCedric Bail <cedric@osg.samsung.com>2018-03-19 13:00:25 -0700
commit67b135ab875a20f3320ac224790bc38baf01277a (patch)
tree19c5ceb73adec02e553e86e8a5cdf257897cc97a /src/lib/eldbus
parent46992cbed5e2ca01cfebedc4bef887d6bf03b301 (diff)
eldbus: use efl_del when clearing the model connection child list
it is an error to delete an object with an existing parent Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
Diffstat (limited to 'src/lib/eldbus')
-rw-r--r--src/lib/eldbus/eldbus_model_connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eldbus/eldbus_model_connection.c b/src/lib/eldbus/eldbus_model_connection.c
index 62b7cec..8a64f89 100644
--- a/src/lib/eldbus/eldbus_model_connection.c
+++ b/src/lib/eldbus/eldbus_model_connection.c
@@ -272,7 +272,7 @@ _eldbus_model_connection_clear(Eldbus_Model_Connection_Data *pd)
272 pd->unique_name = NULL; 272 pd->unique_name = NULL;
273 273
274 EINA_LIST_FREE(pd->children_list, child) 274 EINA_LIST_FREE(pd->children_list, child)
275 efl_unref(child); 275 efl_del(child);
276 276
277 EINA_LIST_FREE(pd->pending_list, pending) 277 EINA_LIST_FREE(pd->pending_list, pending)
278 eldbus_pending_cancel(pending); 278 eldbus_pending_cancel(pending);