Memory leak bug fixed.