efreet: Fix failure to save list data to output

Summary:
This fixes a typo in the fix 55676b33, which introduced an invalid early
return from the save_list function, preventing it from outputing the
list data to the file.

@fix CID1375005, CID1375004

Reviewers: jpeg

Reviewed By: jpeg

Subscribers: stefan_schmidt, cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4873
This commit is contained in:
Bryce Harrington 2017-05-12 11:08:30 +02:00 committed by Stefan Schmidt
parent 7e2e6e8aa4
commit a7c1edc44f
1 changed files with 1 additions and 1 deletions

View File

@ -770,7 +770,7 @@ save_list(const char *file, Eina_List *l)
eina_strbuf_append_printf(buf, "%s/efreet/%s", efreet_cache_home_get(), file);
f = fopen(eina_strbuf_string_get(buf), "wb");
if (!f) return;
if (!f)
{
eina_strbuf_free(buf);
return;