Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't test before deleting a pointer
It's fine to delete a null pointer. It has no effect. Assign nullptr after deleting make an access violation visible (crash).
- Loading branch information