Dumb memory leak fix