forked from enlightenment/efl
ecore: fix memory leak when shutding down the application.
Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D7653
This commit is contained in:
parent
7889f71c7b
commit
445cfab193
|
@ -173,6 +173,7 @@ efl_loop_exit_code_process(Eina_Value *value)
|
|||
out = stderr;
|
||||
}
|
||||
fprintf(out, "%s\n", msg);
|
||||
free(msg);
|
||||
}
|
||||
return r;
|
||||
}
|
||||
|
@ -361,6 +362,8 @@ _efl_loop_efl_object_destructor(Eo *obj, Efl_Loop_Data *pd)
|
|||
pd->env.environ_copy = NULL;
|
||||
eina_lock_release(&_environ_lock);
|
||||
|
||||
eina_value_flush(&pd->exit_code);
|
||||
|
||||
efl_destructor(efl_super(obj, EFL_LOOP_CLASS));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue