fix for Coverity CID 1153101:  Resource leak in object  (CTOR_DTOR_LEAK)
astyle -A10 & scope reduction