1
0
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:
Werner Almesberger 2011-09-05 06:20:12 -03:00
parent a67d0b447e
commit 828763b747

View File

@ -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);