diff --git a/src/core/lib/utils/memory.c b/src/core/lib/utils/memory.c index ad9c812..5a1c45a 100644 --- a/src/core/lib/utils/memory.c +++ b/src/core/lib/utils/memory.c @@ -153,4 +153,6 @@ void why2_clean_memory(char *identifier) } 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 } \ No newline at end of file