Nikolay Sivov <bunglehead at gmail.com> 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. -- Alexandre Julliard julliard at winehq.org