Address #306: Check ptr is not NULL from strdup/malloc in lisp.c
Add routine to check for non-NULL pointer. If it is NULL, print a message and exit.
Use the routine to check that the result of strdup
and malloc
is
not NULL.
Add routine to check for non-NULL pointer. If it is NULL, print a message and exit.
Use the routine to check that the result of strdup
and malloc
is
not NULL.