Fixing leak.
Merge pull request #2 from JanX2/master

Fixing leak.