fixed Coverity issue 1187592. Resource leak