Fix a null pointer dereference.