summaryrefslogtreecommitdiffstats
path: root/src/map/mapper/mapperLib.c
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2005-08-17 08:01:00 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2005-08-17 08:01:00 -0700
commit6e496de7ff1a1f9b6f0babc8efb0a13379242505 (patch)
tree3abc09837e77c60f932a7b6e2c227b217a1936f6 /src/map/mapper/mapperLib.c
parent9b3fa55b8a6fca4fb75e0bbc9a8d52c5ab3c11e4 (diff)
downloadabc-6e496de7ff1a1f9b6f0babc8efb0a13379242505.tar.gz
abc-6e496de7ff1a1f9b6f0babc8efb0a13379242505.tar.bz2
abc-6e496de7ff1a1f9b6f0babc8efb0a13379242505.zip
Version abc50817
Diffstat (limited to 'src/map/mapper/mapperLib.c')
-rw-r--r--src/map/mapper/mapperLib.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/map/mapper/mapperLib.c b/src/map/mapper/mapperLib.c
index 5530f8cb..f9b280fe 100644
--- a/src/map/mapper/mapperLib.c
+++ b/src/map/mapper/mapperLib.c
@@ -140,10 +140,13 @@ void Map_SuperLibFree( Map_SuperLib_t * p )
{
// if ( s_pLib == p->pGenlib )
// s_pLib = NULL;
- if ( Abc_FrameReadLibGen(Abc_FrameGetGlobalFrame()) == p->pGenlib )
- Abc_FrameSetLibGen(Abc_FrameGetGlobalFrame(), NULL);
+// if ( Abc_FrameReadLibGen(Abc_FrameGetGlobalFrame()) == p->pGenlib )
+// Abc_FrameSetLibGen(Abc_FrameGetGlobalFrame(), NULL);
// Mio_LibraryDelete( p->pGenlib );
+
+ assert( p->pGenlib == Abc_FrameReadLibGen(Abc_FrameGetGlobalFrame()) );
Mio_LibraryDelete( p->pGenlib );
+ Abc_FrameSetLibGen(Abc_FrameGetGlobalFrame(), NULL);
}
if ( p->tTableC )
Map_SuperTableFree( p->tTableC );