summaryrefslogtreecommitdiffstats
path: root/src/aig/gia/giaIf.c
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2013-02-20 14:23:00 -0800
committerAlan Mishchenko <alanmi@berkeley.edu>2013-02-20 14:23:00 -0800
commit466c4e9992fb10e4f6b1dc92b41e14c1305d8269 (patch)
tree21a8935ebfd7bda80cb3ee1b2153e3e18b1e3020 /src/aig/gia/giaIf.c
parentf4c305fc468c5657a2bbae825261f3e4278ed6f8 (diff)
downloadabc-466c4e9992fb10e4f6b1dc92b41e14c1305d8269.tar.gz
abc-466c4e9992fb10e4f6b1dc92b41e14c1305d8269.tar.bz2
abc-466c4e9992fb10e4f6b1dc92b41e14c1305d8269.zip
Integrating hierarchy information (reporting incorrect topological order).
Diffstat (limited to 'src/aig/gia/giaIf.c')
-rw-r--r--src/aig/gia/giaIf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/aig/gia/giaIf.c b/src/aig/gia/giaIf.c
index 00252f28..b99b9a71 100644
--- a/src/aig/gia/giaIf.c
+++ b/src/aig/gia/giaIf.c
@@ -1146,6 +1146,8 @@ Gia_Man_t * Gia_ManPerformMapping( Gia_Man_t * p, void * pp )
if ( p->pManTime )
{
pNew = Gia_ManDupWithHierarchy( p, &vNodes );
+ if ( pNew == NULL )
+ return NULL;
pNew->pManTime = p->pManTime; p->pManTime = NULL;
pNew->pAigExtra = p->pAigExtra; p->pAigExtra = NULL;
p = pNew;