Fix minor memleak
Merge pull request #71 from tribal-tec/master

Fix minor memleak