diff options
Diffstat (limited to 'src/sat')
-rw-r--r-- | src/sat/bmc/bmcBmc3.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sat/bmc/bmcBmc3.c b/src/sat/bmc/bmcBmc3.c index 5d0a05e9..1c5d6e1b 100644 --- a/src/sat/bmc/bmcBmc3.c +++ b/src/sat/bmc/bmcBmc3.c @@ -1646,9 +1646,10 @@ nTimeSat += Abc_Clock() - clk2; if ( p->pPars->fUseBridge ) Gia_ManToBridgeResult( stdout, 0, pCexNew0, pCexNew0->iPo ); // remember solved output - Vec_PtrWriteEntry( p->vCexes, k, pCexNew ); + Vec_PtrWriteEntry( p->vCexes, k, Abc_CexDup(pCexNew, pCexNew->nRegs) ); } Abc_CexFreeP( &pCexNew0 ); + Abc_CexFreeP( &pCexNew ); } else { |