Re: [9/9] gdiplus: initial GdipFlattenPath implementation
3 Sep
2008
3 Sep
'08
9:53 a.m.
Nikolay Sivov <bunglehead(a)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(a)winehq.org
3 Sep
3 Sep
10:11 a.m.
New subject: [9/9] gdiplus: initial GdipFlattenPath implementation
Alexandre Julliard wrote:
Nikolay Sivov <bunglehead(a)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.
6312
Age (days ago)
6312
Last active (days ago)
1 comments
2 participants
participants (2)
-
Alexandre Julliard -
Nikolay Sivov