Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-02-26 02:47:36 +0300
committerJunio C Hamano <gitster@pobox.com>2022-02-26 02:47:36 +0300
commit362f869ff2dbc389234ecd8c4b996a9e507c39d7 (patch)
tree077586c50787e0a4469311aa15e7059f731825c5 /blame.c
parent0a01df08c03fe707e22795de7bd1d763ed02e9e1 (diff)
parent6ee36364eb32287f071878a91d3bbcd86313754a (diff)
Merge branch 'ab/diff-free-more'
Leakfixes. * ab/diff-free-more: diff.[ch]: have diff_free() free options->parseopts diff.[ch]: have diff_free() call clear_pathspec(opts.pathspec)
Diffstat (limited to 'blame.c')
-rw-r--r--blame.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/blame.c b/blame.c
index 083d99fdbc..186ad96120 100644
--- a/blame.c
+++ b/blame.c
@@ -1403,7 +1403,6 @@ static struct blame_origin *find_origin(struct repository *r,
}
}
diff_flush(&diff_opts);
- clear_pathspec(&diff_opts.pathspec);
return porigin;
}
@@ -1447,7 +1446,6 @@ static struct blame_origin *find_rename(struct repository *r,
}
}
diff_flush(&diff_opts);
- clear_pathspec(&diff_opts.pathspec);
return porigin;
}
@@ -2328,7 +2326,6 @@ static void find_copy_in_parent(struct blame_scoreboard *sb,
} while (unblamed);
target->suspects = reverse_blame(leftover, NULL);
diff_flush(&diff_opts);
- clear_pathspec(&diff_opts.pathspec);
}
/*