extra: dont free n

free file
This commit is contained in:
Marcel Hollerbach 2017-08-25 17:48:30 +02:00
parent af36d67bb1
commit 54e34f4258
1 changed files with 2 additions and 2 deletions

View File

@ -600,7 +600,7 @@ EAPI Eina_Bool
extra_theme_installed_old(Extra_Theme *t) extra_theme_installed_old(Extra_Theme *t)
{ {
Eina_List *n, *files; Eina_List *n, *files;
const char *file; char *file;
Eina_Bool b = EINA_FALSE; Eina_Bool b = EINA_FALSE;
Eina_Strbuf *buf; Eina_Strbuf *buf;
@ -625,7 +625,7 @@ extra_theme_installed_old(Extra_Theme *t)
} }
EINA_LIST_FREE(files, file) EINA_LIST_FREE(files, file)
free(n); free(file);
eina_strbuf_free(buf); eina_strbuf_free(buf);
return b; return b;