Index: src/glu/sgi/libtess/dict.c =================================================================== RCS file: /cvs/mesa/Mesa/src/glu/sgi/libtess/dict.c,v retrieving revision 1.2 diff -u -p -r1.2 dict.c --- src/glu/sgi/libtess/dict.c 6 Apr 2006 23:50:44 -0000 1.2 +++ src/glu/sgi/libtess/dict.c 19 Apr 2006 13:35:34 -0000 @@ -68,13 +68,9 @@ Dict *dictNewDict( void *frame, void dictDeleteDict( Dict *dict ) { DictNode *node; - int done = 0; - for( node = dict->head.next; ; node = node->next ) { - done = (node == &dict->head); + for( node = dict->head.next; node != &dict->head; node = node->next ) { memFree( node ); - if (done) - break; } memFree( dict ); }