summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Willmann <d.willmann@samsung.com>2013-06-25 16:23:03 +0100
committerDaniel Willmann <d.willmann@samsung.com>2013-06-26 11:10:57 +0100
commitcd980c4beaabd473b58363d86b8f05ab1d3b9a76 (patch)
tree8497bc5eef5a35855b9dd2ac8206204350cf3d21
parent182dfb82d497d269054097fa5a2d356b999f0d21 (diff)
edje_cc: Fix memory leak in data_thread_script() in error case
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
-rw-r--r--src/bin/edje/edje_cc_out.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/edje/edje_cc_out.c b/src/bin/edje/edje_cc_out.c
index 6ee250aa17..3f5b7fa5b8 100644
--- 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)
1181 "Unable to read all of script object \"%s\"", 1181 "Unable to read all of script object \"%s\"",
1182 sc->tmpo); 1182 sc->tmpo);
1183 sc->errstr = strdup(buf); 1183 sc->errstr = strdup(buf);
1184 free(dat);
1184 return; 1185 return;
1185 } 1186 }
1186 snprintf(buf, sizeof(buf), "edje/scripts/embryo/compiled/%i", 1187 snprintf(buf, sizeof(buf), "edje/scripts/embryo/compiled/%i",