projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1450424
)
e_module: fix memory leak
46/49346/1
author
Boram Park
<boram1288.park@samsung.com>
Tue, 13 Oct 2015 00:55:02 +0000
(09:55 +0900)
committer
Boram Park
<boram1288.park@samsung.com>
Tue, 13 Oct 2015 00:55:02 +0000
(09:55 +0900)
Change-Id: I66f6d6ca14d38a4c293885927391bb2742d91347
src/bin/e_module.c
patch
|
blob
|
history
diff --git
a/src/bin/e_module.c
b/src/bin/e_module.c
index
e853b60
..
dd29ba1
100644
(file)
--- a/
src/bin/e_module.c
+++ b/
src/bin/e_module.c
@@
-744,6
+744,11
@@
_e_module_desktop_list_cb(const Eina_Hash *hash EINA_UNUSED, const void *key EIN
if (desktop)
{
md = E_NEW(E_Module_Desktop, 1);
+ if (!md)
+ {
+ efreet_desktop_free(desktop);
+ return EINA_FALSE;
+ }
md->desktop = desktop;
md->dir = eina_stringshare_ref(data);
*l = eina_list_append(*l, md);