Frees the memory pointed to by mem.
If mem is NULL it simply returns, so there is no need to check mem against NULL before calling this function.
the memory to free
Frees the memory pointed to by mem.
If mem is NULL it simply returns, so there is no need to check mem against NULL before calling this function.