diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2024-04-12 10:49:58 +0200 |
---|---|---|
committer | Johannes Schindelin <johannes.schindelin@gmx.de> | 2024-04-12 11:09:50 +0200 |
commit | 6741e917def23aff497ace35aa34debd1782330a (patch) | |
tree | 3cfef91fbe8781fde071c66a266aff279f76fe2d /t/t4131-apply-fake-ancestor.sh | |
parent | Git 2.40.1 (diff) | |
download | git-6741e917def23aff497ace35aa34debd1782330a.tar.xz git-6741e917def23aff497ace35aa34debd1782330a.zip |
repository: avoid leaking `fsmonitor` data
The `fsmonitor` repo-setting data is allocated lazily. It needs to be
released in `repo_clear()` along the rest of the allocated data in
`repository`.
This is needed because the next commit will merge v2.39.4, which will
add a `git checkout --recurse-modules` call (which would leak memory
without this here fix) to an otherwise leak-free test script.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Diffstat (limited to 't/t4131-apply-fake-ancestor.sh')
0 files changed, 0 insertions, 0 deletions