diff --git a/src/bin/ephoto_main.c b/src/bin/ephoto_main.c index cdd3fb6..e12d6f5 100644 --- a/src/bin/ephoto_main.c +++ b/src/bin/ephoto_main.c @@ -438,7 +438,7 @@ _ephoto_populate_entries(Ephoto_Dir_Data *ed) if (ed->thumbs_only) EINA_LIST_FREE(ed->ephoto->entries, entry) ephoto_entry_free(entry->ephoto, entry); - else + else if (!ed->dirs_only) ephoto_entries_free(ed->ephoto); ed->ephoto->ls =