barbieri pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=53f1c1ca6efdd96d8be892779f6fec188715b466

commit 53f1c1ca6efdd96d8be892779f6fec188715b466
Author: Gustavo Sverzut Barbieri <barbi...@profusion.mobi>
Date:   Tue Nov 22 19:53:06 2016 -0200

    ecore_ipc: delete if 'delete_me' was set.
    
    The flag 'delete_me' is set when there are pending events to be
    dispatched. Once these events are freed, they will check if the server
    was pending delete and call ecore_ipc_server_del() again, thus we must
    not return, otherwise data will be leaked.
---
 src/lib/ecore_ipc/ecore_ipc.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/lib/ecore_ipc/ecore_ipc.c b/src/lib/ecore_ipc/ecore_ipc.c
index 7c886e9..5247839 100644
--- a/src/lib/ecore_ipc/ecore_ipc.c
+++ b/src/lib/ecore_ipc/ecore_ipc.c
@@ -382,7 +382,6 @@ ecore_ipc_server_del(Ecore_Ipc_Server *svr)
                          "ecore_ipc_server_del");
         return NULL;
      }
-   if (svr->delete_me) return NULL;
 
    data = svr->data;
    svr->data = NULL;

-- 


Reply via email to