From: Bryce Harrington Date: Fri, 12 May 2017 09:08:30 +0000 (+0200) Subject: efreet: Fix failure to save list data to output X-Git-Tag: upstream/1.20.0~1112 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a7c1edc44f4f3b4d97590accd7f90c215d339602;p=platform%2Fupstream%2Fefl.git 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 --- diff --git a/src/bin/efreet/efreetd_cache.c b/src/bin/efreet/efreetd_cache.c index c347acc..410e333 100644 --- a/src/bin/efreet/efreetd_cache.c +++ b/src/bin/efreet/efreetd_cache.c @@ -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;