Fixed another memory leak.