Commit c9a62524 by Alan Mishchenko

Fixing memory leak in LTL property handling code

parent c7bb89d1
...@@ -1039,6 +1039,7 @@ void Abc_NtkDelete( Abc_Ntk_t * pNtk ) ...@@ -1039,6 +1039,7 @@ void Abc_NtkDelete( Abc_Ntk_t * pNtk )
ABC_FREE( pNtk->pLutTimes ); ABC_FREE( pNtk->pLutTimes );
if ( pNtk->vOnehots ) if ( pNtk->vOnehots )
Vec_VecFree( (Vec_Vec_t *)pNtk->vOnehots ); Vec_VecFree( (Vec_Vec_t *)pNtk->vOnehots );
Vec_PtrFreeP( &pNtk->vLtlProperties );
ABC_FREE( pNtk ); ABC_FREE( pNtk );
} }
......
...@@ -175,6 +175,7 @@ void Abc_FrameDeallocate( Abc_Frame_t * p ) ...@@ -175,6 +175,7 @@ void Abc_FrameDeallocate( Abc_Frame_t * p )
ABC_FREE( pTemp ); ABC_FREE( pTemp );
Vec_PtrFree( p->vPlugInComBinPairs ); Vec_PtrFree( p->vPlugInComBinPairs );
} }
Vec_PtrFreeP( &p->vLTLProperties_global );
Abc_FrameDeleteAllNetworks( p ); Abc_FrameDeleteAllNetworks( p );
ABC_FREE( p->pCex ); ABC_FREE( p->pCex );
ABC_FREE( p ); ABC_FREE( p );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment