Fixing memory leak in LTL property handling code

This commit is contained in:
Alan Mishchenko 2010-12-02 19:30:19 -08:00
parent c7bb89d1b9
commit c9a6252486
2 changed files with 2 additions and 0 deletions

View File

@ -1039,6 +1039,7 @@ void Abc_NtkDelete( Abc_Ntk_t * pNtk )
ABC_FREE( pNtk->pLutTimes );
if ( pNtk->vOnehots )
Vec_VecFree( (Vec_Vec_t *)pNtk->vOnehots );
Vec_PtrFreeP( &pNtk->vLtlProperties );
ABC_FREE( pNtk );
}

View File

@ -175,6 +175,7 @@ void Abc_FrameDeallocate( Abc_Frame_t * p )
ABC_FREE( pTemp );
Vec_PtrFree( p->vPlugInComBinPairs );
}
Vec_PtrFreeP( &p->vLTLProperties_global );
Abc_FrameDeleteAllNetworks( p );
ABC_FREE( p->pCex );
ABC_FREE( p );