Fixed memory leak. #17