]> git.ipfire.org Git - thirdparty/git.git/commit
help: fix leaking `struct cmdnames`
authorPatrick Steinhardt <ps@pks.im>
Wed, 20 Nov 2024 13:39:44 +0000 (14:39 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 20 Nov 2024 23:23:44 +0000 (08:23 +0900)
commit889c597961cb8dfc0255f520a270aafe125b9869
tree43286fd27b5223368c6acdbec69bc930a2ba20e9
parent94aa96cd590c7da5103c61795e34de4d3ae2849e
help: fix leaking `struct cmdnames`

We're populating multiple `struct cmdnames`, but don't ever free them.
Plug this memory leak.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
help.c