diff --git a/cameo/path.c b/cameo/path.c index bfe7068..c8a6f42 100644 --- a/cameo/path.c +++ b/cameo/path.c @@ -388,9 +388,8 @@ again: (*b)->last = (*a)->last; free((*a)->first); tmp = *a; - *a = *b; + *a = tmp->next; free(tmp); - *b = (*b)->next; goto again; } }