forked from enlightenment/efl
edje_cc: Fix memory leak in data_thread_script() in error case
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
This commit is contained in:
parent
182dfb82d4
commit
cd980c4bea
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue