Fixed small memory leak.