Remove checks for nullptrs before deleting, since deleting is a no-op#1615
Remove checks for nullptrs before deleting, since deleting is a no-op#1615jmcarcell wants to merge 1 commit intoAIDASoft:masterfrom
Conversation
|
NO. |
|
But there is no double deletion.
|
|
@jmcarcell Not true. the deletion at line 340 does unconditionally delete whatever is at the pointer. |
|
Another point is: we do not have to optimize to the last instruction. |
Test Results 18 files 18 suites 6h 17m 41s ⏱️ Results for commit 68db601. |
True if called twice there will be a double delete for a non-null ptr, but this is true with the changes in this PR and without them. The changes in the PR do not change the behaviour that one sees for both a |
BEGINRELEASENOTES
ENDRELEASENOTES