diff --git a/legacy/ecore/src/lib/ecore_file/ecore_file.c b/legacy/ecore/src/lib/ecore_file/ecore_file.c index 182820402a..8b8642aad6 100644 --- a/legacy/ecore/src/lib/ecore_file/ecore_file.c +++ b/legacy/ecore/src/lib/ecore_file/ecore_file.c @@ -378,7 +378,7 @@ ecore_file_app_exe_get(const char *app) char * ecore_file_strip_ext(const char *path) { - char *p; + char *p, *file; file = strdup(path); if (!file) return NULL;