From 1f2da65826fcdc52d4ffa70fa2d3cca20d0dca29 Mon Sep 17 00:00:00 2001 From: hawke Date: Tue, 22 Jun 2004 13:19:21 +0000 Subject: Move the local bbox part into the global bbox loop so the xferinfo information is not used after being free'd. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/RotatingSymmetry90/trunk@14 c3c03602-0f4f-0410-b3fa-d2c81c8a7dc5 --- src/rotatingsymmetry90.c | 62 ++++++++++++++++++++++++------------------------ 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/src/rotatingsymmetry90.c b/src/rotatingsymmetry90.c index 3b0952c..7dfbb02 100644 --- a/src/rotatingsymmetry90.c +++ b/src/rotatingsymmetry90.c @@ -389,42 +389,42 @@ int BndRot90VI (cGH const * restrict const cctkGH, (cctkGH, group.dim, xferinfo, -1, group.vartype, srcptr, group.vartype, varptr); assert (!ierr); - - free (xferinfo); - - } /* if have_global_bbox */ - /* take parity into account */ - have_local_bbox = 1; - for (q=0; q= cctk_lsh[d]) imax[d] = cctk_lsh[d]; - } - assert (group.dim == 3); - assert (group.vartype == CCTK_VARIABLE_REAL); - for (k=imin[0]; k= cctk_lsh[d]) imax[d] = cctk_lsh[d]; + } + assert (group.dim == 3); + assert (group.vartype == CCTK_VARIABLE_REAL); + for (k=imin[0]; k