diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2009-02-15 08:01:00 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2009-02-15 08:01:00 -0800 |
commit | 0871bffae307e0553e0c5186336189e8b55cf6a6 (patch) | |
tree | 4571d1563fe33a53a57fea1c35fb668b9d33265f /src/bdd/cudd/cuddAddWalsh.c | |
parent | f936cc0680c98ffe51b3a1716c996072d5dbf76c (diff) | |
download | abc-0871bffae307e0553e0c5186336189e8b55cf6a6.tar.gz abc-0871bffae307e0553e0c5186336189e8b55cf6a6.tar.bz2 abc-0871bffae307e0553e0c5186336189e8b55cf6a6.zip |
Version abc90215
Diffstat (limited to 'src/bdd/cudd/cuddAddWalsh.c')
-rw-r--r-- | src/bdd/cudd/cuddAddWalsh.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/bdd/cudd/cuddAddWalsh.c b/src/bdd/cudd/cuddAddWalsh.c index 90a57b3c..3022b73d 100644 --- a/src/bdd/cudd/cuddAddWalsh.c +++ b/src/bdd/cudd/cuddAddWalsh.c @@ -146,14 +146,14 @@ Cudd_addResidue( tc = options & CUDD_RESIDUE_TC; /* Allocate and initialize working arrays. */ - array[0] = ALLOC(DdNode *,m); + array[0] = ABC_ALLOC(DdNode *,m); if (array[0] == NULL) { dd->errorCode = CUDD_MEMORY_OUT; return(NULL); } - array[1] = ALLOC(DdNode *,m); + array[1] = ABC_ALLOC(DdNode *,m); if (array[1] == NULL) { - FREE(array[0]); + ABC_FREE(array[0]); dd->errorCode = CUDD_MEMORY_OUT; return(NULL); } @@ -168,8 +168,8 @@ Cudd_addResidue( for (j = 0; j < i; j++) { Cudd_RecursiveDeref(dd,array[1][j]); } - FREE(array[0]); - FREE(array[1]); + ABC_FREE(array[0]); + ABC_FREE(array[1]); return(NULL); } cuddRef(tmp); @@ -193,8 +193,8 @@ Cudd_addResidue( for (j = 0; j < m; j++) { Cudd_RecursiveDeref(dd,array[previous][j]); } - FREE(array[0]); - FREE(array[1]); + ABC_FREE(array[0]); + ABC_FREE(array[1]); return(NULL); } cuddRef(var); @@ -208,8 +208,8 @@ Cudd_addResidue( for (j = 0; j < m; j++) { Cudd_RecursiveDeref(dd,array[previous][j]); } - FREE(array[0]); - FREE(array[1]); + ABC_FREE(array[0]); + ABC_FREE(array[1]); return(NULL); } cuddRef(tmp); @@ -234,8 +234,8 @@ Cudd_addResidue( } res = array[(n - 1) & 1][0]; - FREE(array[0]); - FREE(array[1]); + ABC_FREE(array[0]); + ABC_FREE(array[1]); cuddDeref(res); return(res); |