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/t4018/bash-posix-style-single-command-function | |
| parent | 0d1bd1dfb37ef25e1911777c94129fc769ffec38 (diff) | |
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/t4018/bash-posix-style-single-command-function')
0 files changed, 0 insertions, 0 deletions
