diff options
-rw-r--r-- | src/map/amap/amapPerm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/amap/amapPerm.c b/src/map/amap/amapPerm.c index a16e8979..1ba91890 100644 --- a/src/map/amap/amapPerm.c +++ b/src/map/amap/amapPerm.c @@ -215,11 +215,11 @@ Vec_Int_t * Amap_LibDeriveGatePerm_rec( Amap_Lib_t * pLib, Kit_DsdNtk_t * pNtk, break; } } - Vec_IntFree( vNodFanin ); - Vec_IntFree( vDsdLits ); // assert( iDsdLit == Vec_IntSize(vDsdLits) ); if ( iDsdLit != Vec_IntSize(vDsdLits) ) Vec_IntFreeP( &vPerm ); + Vec_IntFree( vNodFanin ); + Vec_IntFree( vDsdLits ); return vPerm; } |