coverity: CID 1063332 Double free