]> git.ipfire.org Git - thirdparty/git.git/commit
config: fix leaking "core.notesref" variable
authorPatrick Steinhardt <ps@pks.im>
Tue, 11 Jun 2024 09:20:38 +0000 (11:20 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 11 Jun 2024 20:15:07 +0000 (13:15 -0700)
commitc6eb58bfb19a0840841934b91613ea53f0da8651
tree37e3c4304e8b4b9e140fce4b3bbe4911fb42f061
parentf46ede661face3c57f31097960c00325cf21f67f
config: fix leaking "core.notesref" variable

The variable used to track the "core.notesref" config is not getting
freed before we assign to it and thus leaks. Fix this.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
config.c
t/t3308-notes-merge.sh
t/t3309-notes-merge-auto-resolve.sh