diff --git a/src/list/copy.c b/src/list/copy.c index a68334f..fb714ae 100644 --- a/src/list/copy.c +++ b/src/list/copy.c @@ -25,8 +25,8 @@ static void push_next(list_t* x, vnode_t v, vtype t) { node->node = v; node->type = t; - x->last = node; x->last->next = node; + x->last = node; } /*#####################################################################################################################*/