Commit 2f95a58c by Alan Mishchenko

Fixed a memory leak in 'fxch'.

parent 5e2bfe36
...@@ -102,6 +102,9 @@ Fxch_SCHashTable_t* Fxch_SCHashTableCreate( Fxch_Man_t* pFxchMan, ...@@ -102,6 +102,9 @@ Fxch_SCHashTable_t* Fxch_SCHashTableCreate( Fxch_Man_t* pFxchMan,
void Fxch_SCHashTableDelete( Fxch_SCHashTable_t* pSCHashTable ) void Fxch_SCHashTableDelete( Fxch_SCHashTable_t* pSCHashTable )
{ {
unsigned i;
for ( i = 0; i <= pSCHashTable->SizeMask; i++ )
ABC_FREE( pSCHashTable->pBins[i].vSCData );
Vec_IntErase( &pSCHashTable->vSubCube0 ); Vec_IntErase( &pSCHashTable->vSubCube0 );
Vec_IntErase( &pSCHashTable->vSubCube1 ); Vec_IntErase( &pSCHashTable->vSubCube1 );
ABC_FREE( pSCHashTable->pBins ); ABC_FREE( pSCHashTable->pBins );
......
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