summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric Bail <cedric@osg.samsung.com>2018-02-22 14:55:55 -0800
committerCedric Bail <cedric@osg.samsung.com>2018-02-22 14:55:55 -0800
commit288284585b38a668d1be1c69bc7523ecb7d98019 (patch)
tree4a892ba6ab39ba0f3224ad719832452c84c1ad29
parenta7c402b501bef8e1b72b80727662bcd2c654f3f1 (diff)
edje: silence warning due to vpath change.
-rw-r--r--src/lib/edje/edje_load.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/edje/edje_load.c b/src/lib/edje/edje_load.c
index 6c749bcdb6..76964dd0d0 100644
--- a/src/lib/edje/edje_load.c
+++ b/src/lib/edje/edje_load.c
@@ -260,15 +260,16 @@ edje_file_collection_list(const char *file)
260{ 260{
261 Eina_File *f; 261 Eina_File *f;
262 Eina_List *lst; 262 Eina_List *lst;
263 char *tmp;
263 264
264 if ((!file) || (!*file)) return NULL; 265 if ((!file) || (!*file)) return NULL;
265 file = eina_vpath_resolve(file); 266 tmp = eina_vpath_resolve(file);
266 f = eina_file_open(file, EINA_FALSE); 267 f = eina_file_open(tmp, EINA_FALSE);
267 268
268 lst = edje_mmap_collection_list(f); 269 lst = edje_mmap_collection_list(f);
269 270
270 eina_file_close(f); 271 eina_file_close(f);
271 free(file); 272 free(tmp);
272 return lst; 273 return lst;
273} 274}
274 275