aboutsummaryrefslogtreecommitdiff
path: root/src/ScalarBoundary.c
diff options
context:
space:
mode:
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;
}