summaryrefslogtreecommitdiffstats
path: root/t/t7201-co.sh
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-06-11 11:19:36 +0200
committerJunio C Hamano <gitster@pobox.com>2024-06-11 22:15:05 +0200
commitafb0653d2373dc72ad4a9c89b7d17b660d194f04 (patch)
treeddfb867e843bb1d3dd83b3739bb7a1dfc4db874c /t/t7201-co.sh
parentbundle: plug leaks in `create_bundle()` (diff)
downloadgit-afb0653d2373dc72ad4a9c89b7d17b660d194f04.tar.xz
git-afb0653d2373dc72ad4a9c89b7d17b660d194f04.zip
biultin/rev-parse: fix memory leaks in `--parseopt` mode
We have a bunch of memory leaks in git-rev-parse(1)'s `--parseopt` mode. Refactor the code to use `struct strvec`s to make it easier for us to track the lifecycle of those leaking variables and then free them. While at it, remove the unneeded static lifetime for some of the variables. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7201-co.sh')
0 files changed, 0 insertions, 0 deletions