Derp fix for the memory leak