Bug fix in stadard cell library representation.

This commit is contained in:
Alan Mishchenko 2012-02-23 11:58:59 -08:00
parent 871684d2a0
commit a87a3b4e33
1 changed files with 3 additions and 1 deletions

View File

@ -195,9 +195,11 @@ Vec_Int_t * Amap_LibDeriveGatePerm_rec( Amap_Lib_t * pLib, Kit_DsdNtk_t * pNtk,
break;
}
}
assert( iDsdLit == Vec_IntSize(vDsdLits) );
Vec_IntFree( vNodFanin );
Vec_IntFree( vDsdLits );
// assert( iDsdLit == Vec_IntSize(vDsdLits) );
if ( iDsdLit != Vec_IntSize(vDsdLits) )
Vec_IntFreeP( &vPerm );
return vPerm;
}