diff options
| author | Patrick Steinhardt <ps@pks.im> | 2024-08-14 08:52:44 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-08-14 10:08:01 -0700 |
| commit | 1bc158e7509851d9cb007273c9f75a238f295d2e (patch) | |
| tree | 8c9cf57159d2c1077c6c68afec114fa16e1cd59e /builtin/diff.c | |
| parent | 6b15d9ca7f555b7366ed810e2334d614b96361ad (diff) | |
builtin/format-patch: fix various trivial memory leaks
There are various memory leaks hit by git-format-patch(1). Basically all
of them are trivial, except that un-setting `diffopt.no_free` requires
us to unset the `diffopt.file` because we manually close it already.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/diff.c')
0 files changed, 0 insertions, 0 deletions
