diff options
author | Patrick Steinhardt <ps@pks.im> | 2024-11-05 07:17:38 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-11-04 22:37:56 -0800 |
commit | 1f5ff83eab03773692fe6f7bab7f10ad82ab031b (patch) | |
tree | c30a7f3a9dc495154eb2318aa4fd6b9520665bf6 /t/helper/test-submodule-nested-repo-config.c | |
parent | e4ba54d47b675e0613a2644f37c0b4f57a833a44 (diff) |
sparse-index: correctly free EWAH contents
While we free the `fsmonitor_dirty` member of `struct index_state`, we
do not free the contents of that EWAH. Do so by using `ewah_free()`
instead of `FREE_AND_NULL()`.
This leak is exposed by t7519, but plugging it alone does not make the
test suite pass.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper/test-submodule-nested-repo-config.c')
0 files changed, 0 insertions, 0 deletions