Fixing a memory leak.

This commit is contained in:
Alan Mishchenko 2018-09-19 19:01:07 -07:00
parent d8c47d56b7
commit c5f74867b2
1 changed files with 2 additions and 2 deletions

View File

@ -2085,8 +2085,8 @@ Gia_Man_t * Wlc_NtkBitBlast( Wlc_Ntk_t * p, Wlc_BstPar_t * pParIn )
}
if ( pPar->vBoxIds )
{
Vec_PtrFreeP( &pNew->vNamesIn );
Vec_PtrFreeP( &pNew->vNamesOut );
Vec_PtrFreeFree( pNew->vNamesIn ); pNew->vNamesIn = NULL;
Vec_PtrFreeFree( pNew->vNamesOut ); pNew->vNamesOut = NULL;
}
return pNew;
}