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:43:38 +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. > > And one more time with proper error checking in got_gitproto_parse_refline(). But that is already done in tokenize_refline(). -- Christian "naddy" Weisgerber naddy@mips.inka.de