aboutsummaryrefslogtreecommitdiffstats
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
parenttests: do not call unref on eldbus message objects after sending them (diff)
downloadefl-67b135ab875a20f3320ac224790bc38baf01277a.tar.gz
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>
-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 62b7cec2a1..8a64f899f4 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)
pd->unique_name = NULL;
EINA_LIST_FREE(pd->children_list, child)
- efl_unref(child);
+ efl_del(child);
EINA_LIST_FREE(pd->pending_list, pending)
eldbus_pending_cancel(pending);