Memory leak solved.