diff --git a/cameo/path.c b/cameo/path.c index a80965f..6732e29 100644 --- a/cameo/path.c +++ b/cameo/path.c @@ -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);