Good work. This is a handy way to control the flow of code when using pointers.
Does it make sense to set a NULL pointer to this value here?
NULL