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:
1a2cf94
)
e_utils: free dir_path under error condition.
66/186366/2
author
JunSeok, Kim
<juns.kim@samsung.com>
Thu, 9 Aug 2018 07:17:10 +0000
(16:17 +0900)
committer
Sung-Jin Park
<sj76.park@samsung.com>
Thu, 9 Aug 2018 08:08:32 +0000
(08:08 +0000)
Change-Id: I5b62c33ea3452b9628425db0b85b0bbdfb0920da
src/bin/e_utils.c
patch
|
blob
|
history
diff --git
a/src/bin/e_utils.c
b/src/bin/e_utils.c
index
a77263e
..
120bdbf
100644
(file)
--- a/
src/bin/e_utils.c
+++ b/
src/bin/e_utils.c
@@
-1334,6
+1334,7
@@
e_util_file_monitor_add(const char *path, void *data)
if (!mon)
{
ERR("Failed to allocate memory for E_Util_File_Monitor !");
+ free(dir_path);
return 0;
}