Fixing memory leak.
Release 1.2.1.