seoz pushed a commit to branch master.
commit d1f71c63e7d14414b0e8be79e6ba5f3a70faf808
Author: Daniel Juyung Seo <[email protected]>
Date: Sat Jul 6 13:28:00 2013 +0900
config.c: just free the list.
This fixes 'unused pointer value' warning which was spotted by coverity.
CID 1039983.
---
src/bin/config.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/bin/config.c b/src/bin/config.c
index 4f37d9d..b61eeac 100644
--- a/src/bin/config.c
+++ b/src/bin/config.c
@@ -2276,7 +2276,7 @@ _font_names_list_load(Evas_Object *flist)
EINA_LIST_FOREACH(names_list, l, font)
elm_list_item_append(flist, font, NULL, NULL, _font_names_list_sel, NULL);
- EINA_LIST_FREE(names_list, font) ;
+ eina_list_free(names_list);
evas_object_smart_callback_add(flist, "unselected",
_fnames_list_unselect_cb, NULL);
--
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev