summaryrefslogtreecommitdiffstats
path: root/src/misc/vec/vecInt.h
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2012-04-20 10:12:29 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2012-04-20 10:12:29 -0700
commit73789120c17bb857976ccf0b8f34a59832dfadee (patch)
tree6db8b37d6eb79ee673d6c78d0a9b508883ab8c3b /src/misc/vec/vecInt.h
parent3f6bb881c07c9bb6c2976a05bab32a98bed5cc89 (diff)
downloadabc-73789120c17bb857976ccf0b8f34a59832dfadee.tar.gz
abc-73789120c17bb857976ccf0b8f34a59832dfadee.tar.bz2
abc-73789120c17bb857976ccf0b8f34a59832dfadee.zip
Misc changes.
Diffstat (limited to 'src/misc/vec/vecInt.h')
-rw-r--r--src/misc/vec/vecInt.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/misc/vec/vecInt.h b/src/misc/vec/vecInt.h
index fe6e98dd..a9d7e92d 100644
--- a/src/misc/vec/vecInt.h
+++ b/src/misc/vec/vecInt.h
@@ -259,22 +259,10 @@ static inline Vec_Int_t * Vec_IntDupArray( Vec_Int_t * pVec )
***********************************************************************/
static inline void Vec_IntErase( Vec_Int_t * p )
{
- p->pArray = NULL;
+ ABC_FREE( p->pArray );
p->nSize = 0;
p->nCap = 0;
}
-
-/**Function*************************************************************
-
- Synopsis []
-
- Description []
-
- SideEffects []
-
- SeeAlso []
-
-***********************************************************************/
static inline void Vec_IntFree( Vec_Int_t * p )
{
ABC_FREE( p->pArray );