debug: Fix up exe_free usage as it is not needed for pipe_run calls

This commit is contained in:
Andy Williams 2017-06-11 18:51:13 -07:00
parent 208dc9ed2f
commit ca83101e61
2 changed files with 1 additions and 7 deletions

View File

@ -324,7 +324,7 @@ _edi_debug_active_check_cb(void *data EINA_UNUSED)
if (pid == -1)
{
if (_debug_exe) ecore_exe_free(_debug_exe);
if (_debug_exe) ecore_exe_quit(_debug_exe);
_debug_exe = NULL;
elm_object_disabled_set(_button_quit, EINA_TRUE);
elm_object_disabled_set(_button_start, EINA_FALSE);
@ -351,8 +351,6 @@ void edi_debugpanel_stop(void)
if (pid != -1)
ecore_exe_quit(_debug_exe);
if (_debug_exe) ecore_exe_free(_debug_exe);
_debug_exe = NULL;
elm_object_disabled_set(_button_quit, EINA_TRUE);

View File

@ -25,10 +25,6 @@ edi_exe_wait(const char *command)
ecore_thread_main_loop_end();
waitpid(pid, &exit, 0);
ecore_thread_main_loop_begin();
ecore_exe_free(exe);
ecore_thread_main_loop_end();
return exit;
}