Removed memory leak.