projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2e27ea
)
ecore: fix memory leak when shutding down the application.
author
Cedric BAIL
<cedric.bail@free.fr>
Sat, 12 Jan 2019 01:58:23 +0000
(17:58 -0800)
committer
JunsuChoi
<jsuya.choi@samsung.com>
Thu, 24 Jan 2019 05:20:19 +0000
(14:20 +0900)
Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D7653
src/lib/ecore/efl_loop.c
patch
|
blob
|
history
diff --git
a/src/lib/ecore/efl_loop.c
b/src/lib/ecore/efl_loop.c
index
5a7166c
..
44e9c87
100644
(file)
--- a/
src/lib/ecore/efl_loop.c
+++ b/
src/lib/ecore/efl_loop.c
@@
-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));
}