Revert previous edit.

There was no memory leak to fix.