- Fixed memory leaks