Fixing a memory leak, whoops (＾ω＾)