From: <kin...@us...> - 2009-02-12 04:25:02
|
Revision: 4081 http://teem.svn.sourceforge.net/teem/?rev=4081&view=rev Author: kindlmann Date: 2009-02-12 04:25:00 +0000 (Thu, 12 Feb 2009) Log Message: ----------- fixing memory leak Modified Paths: -------------- teem/trunk/src/gage/ctx.c Modified: teem/trunk/src/gage/ctx.c =================================================================== --- teem/trunk/src/gage/ctx.c 2009-02-12 03:53:39 UTC (rev 4080) +++ teem/trunk/src/gage/ctx.c 2009-02-12 04:25:00 UTC (rev 4081) @@ -161,6 +161,7 @@ gagePerVolumeNix(ctx->pvl[pvlIdx]); /* no point in doing a detach, the whole context is going bye-bye */ } + airArrayNuke(ctx->pvlArr); ctx->shape = gageShapeNix(ctx->shape); ctx->fw = (double *)airFree(ctx->fw); ctx->fsl = (double *)airFree(ctx->fsl); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |