fix for Coverity CID 1153101:  Resource leak in object  (CTOR_DTOR_LEAK)

Will resolve #309