Compare commits

...

2 Commits

Author SHA1 Message Date
Daniel Willmann 5f618e6289 configure: Link eina to librt. This is needed for shm_* calls
Recent clang breaks with linking errors:
lib/eina/.libs/libeina.so: undefined reference to `shm_open'
so fix.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-26 10:58:40 +01:00
Daniel Willmann 2e772ad6ee edje_cc: Fix memory leak in data_thread_script() in error case
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-26 10:58:40 +01:00
2 changed files with 2 additions and 0 deletions

View File

@ -709,6 +709,7 @@ AC_DEFINE_IF([EINA_STRINGSHARE_USAGE],
EFL_PLATFORM_DEPEND([EINA], [all])
EFL_ADD_LIBS([EINA], [-lm])
EFL_ADD_LIBS([EINA], [-lrt])
## Options

View File

@ -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",