diff options
| author | Patrick Steinhardt <ps@pks.im> | 2024-11-05 07:16:43 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-11-04 22:37:51 -0800 |
| commit | 5f5dd8e297b59f3f7bf61098e978a91c5581388a (patch) | |
| tree | e3954691d44373f15974870ce362e65d04e83928 /diff-lib.c | |
| parent | The third batch (diff) | |
| download | git-5f5dd8e297b59f3f7bf61098e978a91c5581388a.tar.gz git-5f5dd8e297b59f3f7bf61098e978a91c5581388a.zip | |
builtin/ls-remote: plug leaking server options
The list of server options populated via `OPT_STRING_LIST()` is never
cleared, causing a memory leak. Plug it.
This leak is exposed by t5702, 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 'diff-lib.c')
0 files changed, 0 insertions, 0 deletions
