mirror of
git://projects.qi-hardware.com/cae-tools.git
synced 2024-12-22 23:51:08 +02:00
cameo/path.c (path_replace): free the old ID
This commit is contained in:
parent
a67d0b447e
commit
828763b747
@ -139,6 +139,7 @@ void path_replace(struct path *old, struct path *new)
|
||||
struct path *next = old->next;
|
||||
|
||||
free_points(old->first);
|
||||
free((void *) old->id);
|
||||
*old = *new;
|
||||
old->next = next;
|
||||
free(new);
|
||||
|
Loading…
Reference in New Issue
Block a user