1
0
mirror of git://projects.qi-hardware.com/cae-tools.git synced 2024-12-23 10:31:10 +02:00

cameo/path.c (path_connect): corrected logic when merging B->A

This commit is contained in:
Werner Almesberger 2011-01-05 23:07:34 -03:00
parent ee3a3e6162
commit 4b717cadc6

View File

@ -388,9 +388,8 @@ again:
(*b)->last = (*a)->last; (*b)->last = (*a)->last;
free((*a)->first); free((*a)->first);
tmp = *a; tmp = *a;
*a = *b; *a = tmp->next;
free(tmp); free(tmp);
*b = (*b)->next;
goto again; goto again;
} }
} }