Frees the memory pointed to by mem. If mem is NULL it simply returns.
the memory to free
See Implementation
Frees the memory pointed to by mem. If mem is NULL it simply returns.