Update 201404080904

Fix the memory leak when close the dataset.