diff options
author | rideout <rideout@6a38eb6e-646e-4a02-a296-d141613ad6c4> | 2003-05-06 12:10:39 +0000 |
---|---|---|
committer | rideout <rideout@6a38eb6e-646e-4a02-a296-d141613ad6c4> | 2003-05-06 12:10:39 +0000 |
commit | a691db15f000d301780218fbf236db7456a85e94 (patch) | |
tree | d67e6c4b64688f6db3fea4343bf28ea24610960c /src/StaticBoundary.c | |
parent | 6d75032de476a26d33537dff2242f9909cb7a8a1 (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/StaticBoundary.c')
-rw-r--r-- | src/StaticBoundary.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/StaticBoundary.c b/src/StaticBoundary.c index 75396f1..d7b8324 100644 --- a/src/StaticBoundary.c +++ b/src/StaticBoundary.c @@ -1152,5 +1152,6 @@ static int OldApplyBndStatic (const cGH *GH, /* Call ApplyBnd... with new boundary width array */ retval = ApplyBndStatic(GH, stencil_dir, boundary_widths, dir, first_var, num_vars); + free(boundary_widths); return retval; } |