Removed a memory leak.