Got rid of a memory leak.