summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--diff.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/diff.c b/diff.c
index 38f26091f3..e0ebddfac9 100644
--- a/diff.c
+++ b/diff.c
@@ -994,6 +994,8 @@ static void pmb_advance_or_null_multi_match(struct diff_options *o,
moved_block_clear(&pmb[i]);
}
}
+
+ free(got_match);
}
static int shrink_potential_moved_blocks(struct moved_block *pmb,