diff options
author | Patrick Steinhardt <ps@pks.im> | 2024-05-27 13:46:44 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-05-27 20:20:00 +0200 |
commit | 49eb597ce08de7fc4837155fa7910dace92b9ae6 (patch) | |
tree | 1f425f0483e0c7355ae17bd34c5fbb334b08dabc /t/t9139-git-svn-non-utf8-commitencoding.sh | |
parent | config: clarify memory ownership in `git_config_string()` (diff) | |
download | git-49eb597ce08de7fc4837155fa7910dace92b9ae6.tar.xz git-49eb597ce08de7fc4837155fa7910dace92b9ae6.zip |
config: plug various memory leaks
Now that memory ownership rules around `git_config_string()` and
`git_config_pathname()` are clearer, it also got easier to spot that
the returned memory needs to be free'd. Plug a subset of those cases and
mark now-passing tests as leak free.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to '')
-rwxr-xr-x | t/t9139-git-svn-non-utf8-commitencoding.sh | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/t/t9139-git-svn-non-utf8-commitencoding.sh b/t/t9139-git-svn-non-utf8-commitencoding.sh index b7f756b2b7..22d80b0be2 100755 --- a/t/t9139-git-svn-non-utf8-commitencoding.sh +++ b/t/t9139-git-svn-non-utf8-commitencoding.sh @@ -4,7 +4,6 @@ test_description='git svn refuses to dcommit non-UTF8 messages' -TEST_FAILS_SANITIZE_LEAK=true . ./lib-git-svn.sh # ISO-2022-JP can pass for valid UTF-8, so skipping that in this test |