Commit 0e5af861 by Alan Mishchenko

Fixing a memory corruption problem accidentally introduced by fixing memory leaks on Sep 28.

parent 48f71ada
...@@ -165,7 +165,7 @@ Gia_Man_t * Gia_ManAigSyn3( Gia_Man_t * p, int fVerbose, int fVeryVerbose ) ...@@ -165,7 +165,7 @@ Gia_Man_t * Gia_ManAigSyn3( Gia_Man_t * p, int fVerbose, int fVeryVerbose )
{ {
pNew = Gia_ManDup(p); pNew = Gia_ManDup(p);
Gia_ManTransferTiming( pNew, p ); Gia_ManTransferTiming( pNew, p );
Gia_ManStop( p ); //Gia_ManStop( p );
return pNew; return pNew;
} }
// perform balancing // perform balancing
...@@ -202,7 +202,7 @@ Gia_Man_t * Gia_ManAigSyn4( Gia_Man_t * p, int fVerbose, int fVeryVerbose ) ...@@ -202,7 +202,7 @@ Gia_Man_t * Gia_ManAigSyn4( Gia_Man_t * p, int fVerbose, int fVeryVerbose )
{ {
pNew = Gia_ManDup(p); pNew = Gia_ManDup(p);
Gia_ManTransferTiming( pNew, p ); Gia_ManTransferTiming( pNew, p );
Gia_ManStop( p ); //Gia_ManStop( p );
return pNew; return pNew;
} }
//Gia_ManAigPrintPiLevels( p ); //Gia_ManAigPrintPiLevels( p );
......
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