There's never a reason to check a pointer for 0 before deleting it, because `delete` will already do nothing when called on a null pointer. Besides that, in this case you're sure it can never be 0 anyway.