Enlightenment CVS committal Author : sebastid Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_path.c Log Message: Cleanup. =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_path.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- e_path.c 15 Feb 2005 17:28:43 -0000 1.5 +++ e_path.c 16 Feb 2005 11:31:21 -0000 1.6 @@ -224,17 +224,13 @@ _e_path_cache_free(E_Path *ep) { if (!ep->hash) return; - while (evas_hash_size(ep->hash) > 0) - evas_hash_foreach(ep->hash, _e_path_cache_free_cb, ep); + evas_hash_foreach(ep->hash, _e_path_cache_free_cb, NULL); + evas_hash_free(ep->hash); } static Evas_Bool _e_path_cache_free_cb(Evas_Hash *hash, const char *key, void *data, void *fdata) { - E_Path *ep; - - ep = fdata; free(data); - ep->hash = evas_hash_del(ep->hash, key, data); return 0; } ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs