[cig-commits] commit: Calling Stg_Component_Destroy instead of _Delete.

Mercurial hg at geodynamics.org
Mon Feb 1 15:32:36 PST 2010


changeset:   719:ff202dd981fe
branch:      pcu_rejig
parent:      716:34f98f8d765c
user:        JericoRevote
date:        Wed Dec 09 11:51:12 2009 +1100
files:       Base/Context/src/CompositeVC.c
description:
Calling Stg_Component_Destroy instead of _Delete.


diff -r 34f98f8d765c -r ff202dd981fe Base/Context/src/CompositeVC.c
--- a/Base/Context/src/CompositeVC.c	Tue Dec 08 17:53:19 2009 +1100
+++ b/Base/Context/src/CompositeVC.c	Wed Dec 09 11:51:12 2009 +1100
@@ -270,7 +270,7 @@ void _CompositeVC_Destroy(void* composit
 		
 		for (entry_I = 0; entry_I < self->itemCount; entry_I++) {
 			if (self->iOwnTbl[entry_I] && self->itemTbl[entry_I])
-				Memory_Free(self->itemTbl[entry_I]);
+				Stg_Component_Destroy( self->itemTbl[entry_I], NULL, False );
 		}
 		Memory_Free(self->itemTbl);
 	}



More information about the CIG-COMMITS mailing list