summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--line-range.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/line-range.c b/line-range.c
index 60f0e5ada8..b99f0d9895 100644
--- a/line-range.c
+++ b/line-range.c
@@ -234,6 +234,8 @@ static const char *parse_range_funcname(
}
regfree(&regexp);
+ if (xecfg)
+ xdiff_clear_find_func(xecfg);
free(xecfg);
free(pattern);