diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-04-20 10:12:29 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-04-20 10:12:29 -0700 |
commit | 73789120c17bb857976ccf0b8f34a59832dfadee (patch) | |
tree | 6db8b37d6eb79ee673d6c78d0a9b508883ab8c3b /src/misc/vec | |
parent | 3f6bb881c07c9bb6c2976a05bab32a98bed5cc89 (diff) | |
download | abc-73789120c17bb857976ccf0b8f34a59832dfadee.tar.gz abc-73789120c17bb857976ccf0b8f34a59832dfadee.tar.bz2 abc-73789120c17bb857976ccf0b8f34a59832dfadee.zip |
Misc changes.
Diffstat (limited to 'src/misc/vec')
-rw-r--r-- | src/misc/vec/vecInt.h | 14 |
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 ); |