Fix list free
This commit is contained in:
parent
79935eb0b4
commit
3598394391
@ -17,7 +17,7 @@ void list_free(list_t* x) {
|
||||
|
||||
while (!is_null(c)) {
|
||||
next = c->next;
|
||||
vnode_free(c->node, c->type);
|
||||
vnode_free(&c->node, c->type);
|
||||
free(c);
|
||||
c = next;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user