zkFree - free allocated memory
#include "zkStdlib.h"
void zkFree(void* ptr);
The zkFree() function causes the space pointed to by ptr to be deallocated; that is, made available for further allocation. If ptr is NULL, no action occurs. Otherwise, if the argument does not match a pointer earlier returned by the zkCalloc(), zkMalloc(), or zkRealloc() function, or if the space is deallocated by a call to zkFree() or zkRealloc(), the behaviour is undefined.
Any use of a pointer that refers to freed space causes undefined behaviour.
The zkFree() function returns no value.
No errors are defined.