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:
182dfb8
)
edje_cc: Fix memory leak in data_thread_script() in error case
author
Daniel Willmann
<d.willmann@samsung.com>
Tue, 25 Jun 2013 15:23:03 +0000
(16:23 +0100)
committer
Daniel Willmann
<d.willmann@samsung.com>
Wed, 26 Jun 2013 10:10:57 +0000
(11:10 +0100)
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
src/bin/edje/edje_cc_out.c
patch
|
blob
|
history
diff --git
a/src/bin/edje/edje_cc_out.c
b/src/bin/edje/edje_cc_out.c
index
6ee250a
..
3f5b7fa
100644
(file)
--- a/
src/bin/edje/edje_cc_out.c
+++ b/
src/bin/edje/edje_cc_out.c
@@
-1181,6
+1181,7
@@
data_thread_script(void *data, Ecore_Thread *thread EINA_UNUSED)
"Unable to read all of script object \"%s\"",
sc->tmpo);
sc->errstr = strdup(buf);
+ free(dat);
return;
}
snprintf(buf, sizeof(buf), "edje/scripts/embryo/compiled/%i",