Another safeguard against a dangling pointer.