Re: [PATCH v2] pack-refs: fail on falsely sorted packed-refs
- From
Max Kirillov <max@max630.net>
- Date
- Feb 13, 2019, 04:24 UTC
- Message-ID
- <20190213042404.GB3064@jessie.local>
- In-Reply-To
- <CAPig+cSNoXQQrDDXt6yN-gbYc3P4ZEiwJL1nwQWBomyLdVm_Vg@mail.gmail.com>
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