]> git.ipfire.org Git - thirdparty/git.git/commit
line-range: plug leaking find functions
authorPatrick Steinhardt <ps@pks.im>
Tue, 11 Jun 2024 09:21:15 +0000 (11:21 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 11 Jun 2024 20:15:08 +0000 (13:15 -0700)
commit4b4f5a911c4d2fedf4620ff079dcb2a5a0edccc7
tree77f165f2c9339040c2524862c9cab31977224177
parent44ec7c575f914d77787a17cefd094e3c46b8b12b
line-range: plug leaking find functions

In `parse_range_funcname()` we may end up allocating a "find function",
but never free it. Fix this.

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