Nikolay Sivov bunglehead@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 wrote:
Nikolay Sivov bunglehead@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.
Actually doesn't free anything. Thanks, will be corrected.