summaryrefslogtreecommitdiff
path: root/src/lib/eldbus/eldbus_service.c
diff options
context:
space:
mode:
authorJosé Roberto de Souza <jose.souza@intel.com>2013-08-23 19:47:40 -0300
committerJosé Roberto de Souza <jose.souza@intel.com>2013-08-26 15:16:33 -0300
commit97ad61df93f1426de2f85aae173a4c340132da68 (patch)
tree44a06f2f4ec8f77fac81091952de9fd7eccfe807 /src/lib/eldbus/eldbus_service.c
parentd1d298e4c27e069ef150d19474e0b5643b18c534 (diff)
eldbus: Empty list of interfaces add/del if there is no parent object manager
Diffstat (limited to 'src/lib/eldbus/eldbus_service.c')
-rw-r--r--src/lib/eldbus/eldbus_service.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/lib/eldbus/eldbus_service.c b/src/lib/eldbus/eldbus_service.c
index 2d9c6dd16a..11e6322515 100644
--- a/src/lib/eldbus/eldbus_service.c
+++ b/src/lib/eldbus/eldbus_service.c
@@ -786,7 +786,15 @@ _object_manager_changes_process(void *data)
786 obj->idler_iface_changed = NULL; 786 obj->idler_iface_changed = NULL;
787 787
788 if (!parent) 788 if (!parent)
789 return EINA_FALSE; 789 {
790 const char *name;
791
792 obj->iface_added = eina_list_free(obj->iface_added);
793 EINA_LIST_FREE(obj->iface_removed, name)
794 eina_stringshare_del(name);
795
796 return EINA_FALSE;
797 }
790 798
791 if (obj->iface_added) 799 if (obj->iface_added)
792 _object_manager_iface_added_emit(obj, parent); 800 _object_manager_iface_added_emit(obj, parent);