addded null check to why2_deallocate
This commit is contained in:
parent
0abd38e877
commit
a141065189
@ -191,6 +191,8 @@ void *why2_opendir(char *name)
|
||||
|
||||
void why2_deallocate(void *pointer)
|
||||
{
|
||||
if (pointer == NULL) return; //DEALLOCATING NULL
|
||||
|
||||
//VARIABLES
|
||||
node_t *node = get_node(pointer);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user