forked from enlightenment/enventor
main: Remove redundant code that free ecore getopt list.
Since lists of image paths, font paths, sound paths, and data paths are free manually, ecore_getopt_list_free() does not need to be called.
This commit is contained in:
parent
0e54be9d8e
commit
f889d61140
|
@ -359,12 +359,8 @@ defaults:
|
||||||
*dat_path = eina_list_append(*dat_path, eina_stringshare_add(s));
|
*dat_path = eina_list_append(*dat_path, eina_stringshare_add(s));
|
||||||
free(s);
|
free(s);
|
||||||
}
|
}
|
||||||
|
dd = NULL;
|
||||||
if (wd) sprintf(workspace_path, "%s", wd);
|
if (wd) sprintf(workspace_path, "%s", wd);
|
||||||
|
|
||||||
ecore_getopt_list_free(id);
|
|
||||||
ecore_getopt_list_free(fd);
|
|
||||||
ecore_getopt_list_free(sd);
|
|
||||||
ecore_getopt_list_free(dd);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static Eina_Bool
|
static Eina_Bool
|
||||||
|
|
Loading…
Reference in New Issue