diff options
| author | Jeff King <peff@peff.net> | 2022-10-10 20:42:38 -0400 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2022-10-10 22:16:56 -0700 |
| commit | c4f94907902f18d80a78ee19983d0d02932154d7 (patch) | |
| tree | 3326c34d8419294b1689fd83172e28af6b9e825d /t/t9133-git-svn-nested-git-repo.sh | |
| parent | fsmonitor: add documentation for allowRemote and socketDir options (diff) | |
| download | git-c4f94907902f18d80a78ee19983d0d02932154d7.tar.gz git-c4f94907902f18d80a78ee19983d0d02932154d7.zip | |
fsmonitor: fix leak of warning message
The fsm_settings__get_incompatible_msg() function returns an allocated
string. So we can't pass its result directly to warning(); we must hold
on to the pointer and free it to avoid a leak.
The leak here is small and fixed size, but Coverity complained, and
presumably SANITIZE=leaks would eventually.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9133-git-svn-nested-git-repo.sh')
0 files changed, 0 insertions, 0 deletions
