diff options
Diffstat (limited to 'src/misc/util/utilCex.c')
-rw-r--r-- | src/misc/util/utilCex.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/misc/util/utilCex.c b/src/misc/util/utilCex.c index b0ce66be..1399f55d 100644 --- a/src/misc/util/utilCex.c +++ b/src/misc/util/utilCex.c @@ -351,7 +351,10 @@ void Abc_CexFreeP( Abc_Cex_t ** p ) { if ( *p == NULL ) return; - ABC_FREE( *p ); + if ( *p == (Abc_Cex_t *)(ABC_PTRINT_T)1 ) + *p = NULL; + else + ABC_FREE( *p ); } /**Function************************************************************* |