diff options
Diffstat (limited to 'src/misc/vec')
-rw-r--r-- | src/misc/vec/vecVec.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc/vec/vecVec.h b/src/misc/vec/vecVec.h index 665ad7ae..5405e7f4 100644 --- a/src/misc/vec/vecVec.h +++ b/src/misc/vec/vecVec.h @@ -334,7 +334,7 @@ static inline void Vec_VecFree( Vec_Vec_t * p ) Vec_Ptr_t * vVec; int i; Vec_VecForEachLevel( p, vVec, i ) - Vec_PtrFree( vVec ); + if ( vVec ) Vec_PtrFree( vVec ); Vec_PtrFree( (Vec_Ptr_t *)p ); } |