Re: [9/9] gdiplus: initial GdipFlattenPath implementation

2008-09-03 Thread Nikolay Sivov
Alexandre Julliard wrote: > Nikolay Sivov <[EMAIL PROTECTED]> writes: > > >> +/* free all nodes including argument */ >> +void free_path_list(path_list_node_t *node) >> +{ >> +path_list_node_t *n = node; >> + >> +while(!n){ >> +GdipFree(node); >> +node = n = n->next; >> +

Re: [9/9] gdiplus: initial GdipFlattenPath implementation

2008-09-03 Thread Alexandre Julliard
Nikolay Sivov <[EMAIL PROTECTED]> writes: > +/* free all nodes including argument */ > +void free_path_list(path_list_node_t *node) > +{ > +path_list_node_t *n = node; > + > +while(!n){ > +GdipFree(node); > +node = n = n->next; > +} This won't do what you want. -- Al