variable name typo fix
This commit is contained in:
parent
c3e602de90
commit
c9c65badad
@ -130,7 +130,7 @@ void why2_free(void *pointer)
|
|||||||
//VARIABLES
|
//VARIABLES
|
||||||
node_t *node = get_node(pointer);
|
node_t *node = get_node(pointer);
|
||||||
|
|
||||||
if (pointer != NULL) remove_node(node); //REMOVE FROM LIST IF FOUND
|
if (node != NULL) remove_node(node); //REMOVE FROM LIST IF FOUND
|
||||||
|
|
||||||
free(pointer);
|
free(pointer);
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user