aboutsummaryrefslogtreecommitdiff
path: root/src/CopyBoundary.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/CopyBoundary.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/CopyBoundary.c')
-rw-r--r--src/CopyBoundary.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/CopyBoundary.c b/src/CopyBoundary.c
index ee49deb..191b22b 100644
--- a/src/CopyBoundary.c
+++ b/src/CopyBoundary.c
@@ -433,6 +433,8 @@ int BndCopyVI (const cGH *GH,
retval = -1;
}
+ free(boundary_widths);
+
return (retval);
}
@@ -596,6 +598,8 @@ int BndCopyGI (const cGH *GH,
retval = -1;
}
+ free(boundary_widths);
+
return (retval);
}
@@ -763,6 +767,8 @@ int BndCopyGN (const cGH *GH,
retval = -1;
}
+ free(boundary_widths);
+
return (retval);
}
@@ -932,6 +938,8 @@ int BndCopyVN (const cGH *GH,
retval = -1;
}
+ free(boundary_widths);
+
return (retval);
}