Ghetto-fixed a memory leak