From 73789120c17bb857976ccf0b8f34a59832dfadee Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Fri, 20 Apr 2012 10:12:29 -0700 Subject: Misc changes. --- src/misc/vec/vecInt.h | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'src/misc/vec') 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 ); -- cgit v1.2.3