coverity: Resource leak (2nd round)