diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2016-10-12 11:59:32 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2016-10-12 11:59:32 -0700 |
commit | 710f5cd4bc4f4d80ff236ee6084b650f1c778be2 (patch) | |
tree | 24744d55b49d521c6e2e200327c950b4f80f3c81 /src/map | |
parent | 40375f8b93edcd51f17e55a03737791f4202c5e7 (diff) | |
download | abc-710f5cd4bc4f4d80ff236ee6084b650f1c778be2.tar.gz abc-710f5cd4bc4f4d80ff236ee6084b650f1c778be2.tar.bz2 abc-710f5cd4bc4f4d80ff236ee6084b650f1c778be2.zip |
Memory leak in scl package.
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/scl/sclLib.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/scl/sclLib.h b/src/map/scl/sclLib.h index be1fb4d9..9c5027ed 100644 --- a/src/map/scl/sclLib.h +++ b/src/map/scl/sclLib.h @@ -371,12 +371,14 @@ static inline void Abc_SclWireLoadSelFree( SC_WireLoadSel * p ) Vec_FltErase( &p->vAreaFrom ); Vec_FltErase( &p->vAreaTo ); Vec_PtrFreeData( &p->vWireLoadModel ); + Vec_PtrErase( &p->vWireLoadModel ); ABC_FREE( p->pName ); ABC_FREE( p ); } static inline void Abc_SclTableTemplFree( SC_TableTempl * p ) { Vec_PtrFreeData( &p->vVars ); + Vec_PtrErase( &p->vVars ); Vec_VecErase( (Vec_Vec_t *)&p->vIndex ); ABC_FREE( p->pName ); ABC_FREE( p ); |