aboutsummaryrefslogtreecommitdiff
path: root/src/StaticBoundary.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/StaticBoundary.c')
-rw-r--r--src/StaticBoundary.c1
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;
}