Tried to fix a non-existant memory leak by deleting perfectly good self destructing pointers.