Version 1.21

Fixed memory leaks