Merge branch 'jc/maint-1.6.4-show-branch-default' into maint
[gitweb.git] / diff.c
diff --git a/diff.c b/diff.c
index 0a020ffab4dcfbd88fbee31bb3c84e336a67b17c..cd35e0c2d7e29012e24cc8f5f49d9d351420b56e 100644 (file)
--- a/diff.c
+++ b/diff.c
@@ -1603,6 +1603,7 @@ static void builtin_diff(const char *name_a,
                        free(mf1.ptr);
                if (textconv_two)
                        free(mf2.ptr);
+               xdiff_clear_find_func(&xecfg);
        }
 
  free_ab_and_return: