Enlightenment CVS committal Author : chaos Project : e17 Module : proto
Dir : e17/proto/etk/src/lib Modified Files: etk_tree.c Log Message: * Fix a crash on etk_tree_clear() =================================================================== RCS file: /cvs/e/e17/proto/etk/src/lib/etk_tree.c,v retrieving revision 1.60 retrieving revision 1.61 diff -u -3 -r1.60 -r1.61 --- etk_tree.c 7 Apr 2006 15:36:11 -0000 1.60 +++ etk_tree.c 15 Apr 2006 10:52:02 -0000 1.61 @@ -2603,6 +2603,7 @@ } free(row->cells_data); } + if (row->row_objects) ((Etk_Tree_Row_Objects *)row->row_objects)->row = NULL; @@ -2721,6 +2722,10 @@ evas_object_del(row_objects->cells_objects[i].objects[j]); } } + + if (row_objects->row) + row_objects->row->row_objects = NULL; + free(row_objects->cells_objects); free(row_objects); } ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs