Fixed a glaringly obvious memory leak for issue #9.