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)) {
 | 
					    while (!is_null(c)) {
 | 
				
			||||||
        next = c->next;
 | 
					        next = c->next;
 | 
				
			||||||
        vnode_free(c->node, c->type);
 | 
					        vnode_free(&c->node, c->type);
 | 
				
			||||||
        free(c);
 | 
					        free(c);
 | 
				
			||||||
        c = next;
 | 
					        c = next;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user