efreet_desktop: fix potential error in efreet_desktop_cache_create
authorSungtaek Hong <sth253.hong@samsung.com>
Wed, 7 Dec 2016 09:53:26 +0000 (18:53 +0900)
committerWonki Kim <wonki_.kim@samsung.com>
Mon, 2 Jan 2017 07:23:59 +0000 (16:23 +0900)
commit8ae04203cf156c7f1673cd7f5739f4aca70ad5cd
tree478d6ba9691da9a9fbff1ae5d1c38572485e5f68
parent036f8f56ad430284bef625094fefd4a1af3ee86b
efreet_desktop: fix potential error in efreet_desktop_cache_create

 - old_file_ids is freed but not set as NULL.
   If it goes to error code, old_file_ids will be freed again.

   Differential Revision: https://phab.enlightenment.org/D4467

Change-Id: I22b24dc1480e8dce17e2588febfc2fd885970475
Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>
src/bin/efreet/efreet_desktop_cache_create.c