Fix list free

This commit is contained in:
Gregory Lirent 2022-06-05 18:35:58 +03:00
parent 79935eb0b4
commit 3598394391

View File

@ -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;
}