fix for Coverity CID 1153101:  Resource leak in object  (CTOR_DTOR_LEAK)
astyle -A10 & scope reduction
Merge pull request #310 from ged-lab/cov1153101

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