]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/ls-remote.c
ls-remote: release memory instead of UNLEAK
authorOlga Telezhnaya <olyatelezhnaya@gmail.com>
Thu, 18 Oct 2018 07:28:54 +0000 (07:28 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 19 Oct 2018 02:28:12 +0000 (11:28 +0900)
commitdeec6b8e0f855917443fa0d3bad27089f6a8e23a
treeb41e3d959d37a27d8e97ff03ce1c236e13cd7b7f
parent23941dd7b8f30946505118139fb861b86c1a5cc2
ls-remote: release memory instead of UNLEAK

Use ref_array_clear() to release memory instead of UNLEAK macros.

Signed-off-by: Olga Telezhnaia <olyatelezhnaya@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/ls-remote.c