Enlightenment CVS committal Author : codewarrior Project : e17 Module : proto
Dir : e17/proto/enhance/src/lib Modified Files: enhance.c Log Message: fix segv in hash free()ing. =================================================================== RCS file: /cvs/e/e17/proto/enhance/src/lib/enhance.c,v retrieving revision 1.12 retrieving revision 1.13 diff -u -3 -r1.12 -r1.13 --- enhance.c 31 Jul 2006 20:06:55 -0000 1.12 +++ enhance.c 5 Aug 2006 16:18:43 -0000 1.13 @@ -1041,7 +1041,6 @@ E_Widget *widget; widget = data; - evas_hash_del(hash, key, data); if(widget->packing) { E_FREE(widget->packing->x_options); @@ -1060,7 +1059,8 @@ if(!en) return; exml_destroy(en->xml); evas_hash_foreach(en->widgets, _e_widget_hash_free, en); - ecore_hash_destroy(_en_stock_items_hash); + evas_hash_free(en->widgets); + ecore_hash_destroy(_en_stock_items_hash); E_FREE(en->main_window); E_FREE(en); } ------------------------------------------------------------------------- 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