* Fixed memory leaks. #1