The GNU manual page for malloc
defines that when free()
called twice with the same pointer (that was previously allocated by malloc()
) "undefined behaviour occurs".
What kind of behaviour is that?
Where can I find more Information about this kind of error?