sometimes memFree must be a function
used for checking the memory allocation for pointers.
a function that checks whether pointer is NULL, used by a version of memMalloc (c. f. memMalloc.h)