Merge pull request #11 from MKleusberg/master

Fix statement leak