Fix mismatching new/delete
Merge pull request #9472 from jacob-baines/mismatch

Fix mismatching new/delete