From: Max Kirillov Date: Wed, 13 Feb 2019 04:24:04 GMT Subject: Re: [PATCH v2] pack-refs: fail on falsely sorted packed-refs Message-ID: <20190213042404.GB3064@jessie.local> In-Reply-To: On Fri, Feb 08, 2019 at 04:40:28PM -0500, Eric Sunshine wrote: > The call to strbuf_init() is leaking the allocated strbuf buffer each > time through the loop. The typical way to re-use a strbuf, and the way > you should do it here, is strbuf_reset(). Thank you! Will fix it