aboutsummaryrefslogtreecommitdiff
path: root/src/ScalarBoundary.c
diff options
context:
space:
mode:
authorrideout <rideout@6a38eb6e-646e-4a02-a296-d141613ad6c4>2003-05-06 12:10:39 +0000
committerrideout <rideout@6a38eb6e-646e-4a02-a296-d141613ad6c4>2003-05-06 12:10:39 +0000
commita691db15f000d301780218fbf236db7456a85e94 (patch)
treed67e6c4b64688f6db3fea4343bf28ea24610960c /src/ScalarBoundary.c
parent6d75032de476a26d33537dff2242f9909cb7a8a1 (diff)
Free smaller boundary_widths buffers used to comply with old API.
Fixes CactusBase/1502. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@224 6a38eb6e-646e-4a02-a296-d141613ad6c4
Diffstat (limited to 'src/ScalarBoundary.c')
-rw-r--r--src/ScalarBoundary.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ScalarBoundary.c b/src/ScalarBoundary.c
index 2418aff..36dd68a 100644
--- a/src/ScalarBoundary.c
+++ b/src/ScalarBoundary.c
@@ -1310,5 +1310,6 @@ static int OldApplyBndScalar(const cGH *GH,
retval = ApplyBndScalar(GH, stencil_dir, boundary_widths, dir, scalar,
first_var, num_vars);
+ free(boundary_widths);
return retval;
}