memory leaks
Merge pull request #2 from damucz/master

memory leaks