Explicitly nulling the pointer causes us to report the error below instead of keeping a dangling pointer around that will most likely lead to a subsequent segfault.
Explicitly nulling the pointer causes us to report the error below instead of keeping a dangling pointer around that will most likely lead to a subsequent segfault.