forked from enlightenment/efl
parent
8021f6beeb
commit
44d66495ca
|
@ -1783,10 +1783,13 @@ efreet_desktop_cb_download_complete(void *data, const char *file __UNUSED__,
|
|||
if (f->command->num_pending <= 0)
|
||||
{
|
||||
Eina_List *execs;
|
||||
char *exec;
|
||||
|
||||
execs = efreet_desktop_command_build(f->command);
|
||||
/* TODO: Need to handle the return value from efreet_desktop_command_execs_process */
|
||||
efreet_desktop_command_execs_process(f->command, execs);
|
||||
eina_list_free(execs);
|
||||
EINA_LIST_FREE(execs, exec)
|
||||
free(exec);
|
||||
efreet_desktop_command_free(f->command);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -110,6 +110,8 @@ efreet_ini_parse(const char *file)
|
|||
struct stat file_stat;
|
||||
int line_length, left;
|
||||
|
||||
if (!file) return NULL;
|
||||
|
||||
f = fopen(file, "rb");
|
||||
if (!f) return NULL;
|
||||
|
||||
|
|
Loading…
Reference in New Issue