added identifier reset at the end of why2_clean_memory
This commit is contained in:
parent
c2cc6aa4ba
commit
eec8d13a5c
@ -153,4 +153,6 @@ void why2_clean_memory(char *identifier)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (buffer -> identifier == identifier) remove_node(buffer); //LAST NODE
|
if (buffer -> identifier == identifier) remove_node(buffer); //LAST NODE
|
||||||
|
|
||||||
|
why2_reset_memory_identifier(); //THIS WILL CAUSE SEGFAULT IF YOU DIDN'T USE why2_set_memory_identifier
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user