Check the strdup

SVN revision: 17206
This commit is contained in:
sebastid 2005-10-05 18:38:51 +00:00 committed by sebastid
parent dcb7726415
commit 4d6bcecff4
1 changed files with 1 additions and 0 deletions

View File

@ -381,6 +381,7 @@ ecore_file_strip_ext(const char *path)
char *p;
file = strdup(path);
if (!file) return NULL;
p = strrchr(file, '.');
if (p)