[cig-commits] commit: Some data not being deleted in VariableCondition class
Mercurial
hg at geodynamics.org
Mon Feb 1 15:32:29 PST 2010
changeset: 714:523b6d236d75
branch: pcu_rejig
user: Owen Kaluza <Owen.Kaluza at sci.monash.edu.au>
date: Tue Dec 08 17:52:39 2009 +1100
files: Base/Context/src/VariableCondition.c
description:
Some data not being deleted in VariableCondition class
diff -r e34e3a4ddb48 -r 523b6d236d75 Base/Context/src/VariableCondition.c
--- a/Base/Context/src/VariableCondition.c Fri Dec 04 18:58:34 2009 +1100
+++ b/Base/Context/src/VariableCondition.c Tue Dec 08 17:52:39 2009 +1100
@@ -386,9 +386,11 @@ void _VariableCondition_Destroy( void* v
void _VariableCondition_Destroy( void* variableCondition, void* data ) {
VariableCondition* self = (VariableCondition*)variableCondition;
+ if (self->mapping) Stg_Class_Delete(self->mapping);
if (self->_set) Stg_Class_Delete(self->_set);
if (self->indexTbl) Memory_Free(self->indexTbl);
if (self->vcVarCountTbl) Memory_Free(self->vcVarCountTbl);
+ if (self->vcTbl) Memory_Free(self->vcTbl);
if (self->valueTbl) Memory_Free(self->valueTbl);
}
More information about the CIG-COMMITS
mailing list