Memory leak fixed.