edbus: Fix list element deletion on _interface_free

SPANK demarchi

Patch by: Henrique Dante de Almeida <hdante@profusion.mobi>



SVN revision: 82952
This commit is contained in:
Henrique Dante de Almeida 2013-01-17 22:08:52 +00:00 committed by Bruno Dilly
parent 12a0f9388a
commit de6fa1ea64
1 changed files with 1 additions and 1 deletions

View File

@ -993,7 +993,7 @@ _interface_free(EDBus_Service_Interface *interface)
eina_array_free(interface->prop_invalidated);
obj = interface->obj;
l = eina_list_data_find(obj->iface_added, interface);
l = eina_list_data_find_list(obj->iface_added, interface);
if (l)
{
/* Adding and removing the interface in the same main loop iteration.