Fixed a few leaks.
Merge pull request #66 from davidhesselbom/master

Fixed a few leaks.