Update 201402121433

1.Fixed the error that close function will die when pointer is illegal.