okra pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=bb4d69519f84dbdd0c6b7267d4afee4f2d9a9ce5

commit bb4d69519f84dbdd0c6b7267d4afee4f2d9a9ce5
Author: Stephen 'Okra' Houston <[email protected]>
Date:   Tue Sep 26 22:11:21 2017 -0500

    E Exe: Semi revert 2082bb51d3abffd991b4d791ace2567888e2e9fb. The ref count 
was off to begin with.
---
 src/bin/e_exec.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bin/e_exec.c b/src/bin/e_exec.c
index da293a8be..851058ddc 100644
--- a/src/bin/e_exec.c
+++ b/src/bin/e_exec.c
@@ -280,6 +280,7 @@ e_exec_phony(E_Client *ec)
    lnew = eina_list_append(l, inst);
    if (l) eina_hash_modify(e_exec_instances, inst->key, lnew);
    else eina_hash_add(e_exec_instances, inst->key, lnew);
+   inst->ref++;
    ecore_event_add(E_EVENT_EXEC_NEW, inst, _e_exec_cb_exec_new_free, inst);
    e_exec_instance_client_add(inst, ec);
    return inst;
@@ -361,6 +362,7 @@ e_exec_instance_client_add(E_Exec_Instance *inst, E_Client 
*ec)
    e_object_ref(E_OBJECT(ec));
    ec->exe_inst = inst;
    inst->ref++;
+   ecore_event_add(E_EVENT_EXEC_NEW_CLIENT, inst, 
_e_exec_cb_exec_new_client_free, ec);
 }
 
 E_API void

-- 


Reply via email to