Fix HUGE memory leak.