diff options
| author | Patrick Steinhardt <ps@pks.im> | 2024-09-30 11:13:13 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-09-30 11:23:02 -0700 |
| commit | a69d120c077ce4e3f6164e23d41147370a0d687a (patch) | |
| tree | fbd733427cd828dd863a0c8a020f2d4f272a4671 /diffcore-rotate.c | |
| parent | builtin/annotate: fix leaking args vector (diff) | |
| download | git-a69d120c077ce4e3f6164e23d41147370a0d687a.tar.gz git-a69d120c077ce4e3f6164e23d41147370a0d687a.zip | |
read-cache: fix leaking hash context in `do_write_index()`
When writing an index with the EOIE extension we allocate a separate
hash context. We never free that context though, causing a memory leak.
Plug it.
This leak is exposed by t9210, but plugging it alone does not make the
whole test suite pass.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diffcore-rotate.c')
0 files changed, 0 insertions, 0 deletions
