From: Olga Telezhnaya Date: Thu, 18 Oct 2018 07:28:54 +0000 (+0000) Subject: ls-remote: release memory instead of UNLEAK X-Git-Tag: v2.20.0-rc0~113^2~1 X-Git-Url: http://git.bitbasher.net/?a=commitdiff_plain;h=deec6b8e0f855917443fa0d3bad27089f6a8e23a;p=git.git ls-remote: release memory instead of UNLEAK Use ref_array_clear() to release memory instead of UNLEAK macros. Signed-off-by: Olga Telezhnaia Signed-off-by: Junio C Hamano --- diff --git a/builtin/ls-remote.c b/builtin/ls-remote.c index 1a25df7ee1..6a0cdec30d 100644 --- a/builtin/ls-remote.c +++ b/builtin/ls-remote.c @@ -151,6 +151,6 @@ int cmd_ls_remote(int argc, const char **argv, const char *prefix) } UNLEAK(sorting); - UNLEAK(ref_array); + ref_array_clear(&ref_array); return status; }