From: Christian Weisgerber Subject: Re: plug memleaks in got-fetch-pack and got-send-pack To: gameoftrees@openbsd.org Date: Thu, 7 Oct 2021 16:37:59 +0200 Stefan Sperling: > Good point. Looking at this I realized that got_gitproto_parse_refline() > should be initializing its output arguments to make things easier for > callers. Except the capabilities string, which is only parsed once, > and which should be freed as well if it occurs more than once. > diff 4afb33a50adb03566efa20a315bf6fb7ad0b74df fa204bc395ee4d4d6c14b5565906f20f323e58ae ok -- Christian "naddy" Weisgerber naddy@mips.inka.de