]> git.99rst.org Git - git.git/commit
ref-filter API user: add and use a ref_sorting_release()
authorÆvar Arnfjörð Bjarmason <redacted>
Wed, 20 Oct 2021 18:27:20 +0000 (20:27 +0200)
committerJunio C Hamano <redacted>
Wed, 20 Oct 2021 18:36:13 +0000 (11:36 -0700)
commite5fb028688f5811bd835c0bc47f8d7a379a0d152
treea9e8e75d8139818d8f39240d5ef5bb9ce27ac179
parent37766b61cdb3e12709febcd2f9dbee2b90e62969
ref-filter API user: add and use a ref_sorting_release()

Add a ref_sorting_release() and use it for some of the current API
users, the ref_sorting_default() function and its siblings will do a
malloc() which wasn't being free'd previously.

Signed-off-by: Ævar Arnfjörð Bjarmason <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/for-each-ref.c
builtin/tag.c
ref-filter.c
ref-filter.h
git clone https://git.99rst.org/PROJECT