Enlightenment CVS committal Author : sebastid Project : e17 Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_desktop Modified Files: ecore_desktop_icon.c Log Message: free result on error. set group to NULL, since it references data. =================================================================== RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_desktop/ecore_desktop_icon.c,v retrieving revision 1.30 retrieving revision 1.31 diff -u -3 -r1.30 -r1.31 --- ecore_desktop_icon.c 23 Sep 2006 11:08:06 -0000 1.30 +++ ecore_desktop_icon.c 23 Sep 2006 11:12:39 -0000 1.31 @@ -522,6 +522,7 @@ ecore_hash_set(icon_theme_cache, strdup(icon_theme), result); ecore_hash_destroy(result->data); result->data = NULL; + result->group = NULL; done: if (dir) free(dir); @@ -536,6 +537,7 @@ { _ecore_desktop_icon_theme_destroy(result); if (result->data) ecore_hash_destroy(result->data); + free(result); } return NULL; } ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs