Skip to content

Address #306: Check ptr is not NULL from strdup/malloc in lisp.c

Raymond Toy requested to merge issue-306-lisp.c into master

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.

Merge request reports

Loading