On Sun, Apr 03 2022, Phillip Wood wrote: > Hi Ævar > > I've left a few comments on this series for the patches that I had not > looked at in v4. There's nothing major, the changes mostly make sense > to me (though I'm not familiar with the revisions api) Thanks a lot. I'll re-roll a v6 in response, but will wait a bit for any other comments. > On 02/04/2022 11:49, Ævar Arnfjörð Bjarmason wrote: >> This series reduces the memory leaks spotted by our tests by at least >> half, see v3[1] for a more general overview. >> Thanks a lot to Phillip Wood and Junio for the v4 review! I think >> this >> v5 should address all of the things brought up in v4 in one way or >> another, changes: >> * The "extra_headers" or "ref_message_ids" freeing is the same, >> but >> the commit message is altered to explain that commit. > > I'm still not that convinced that these are owned by the code in > builtin/log.c but lets leave that for now. Thanks. > The rest of the changes > look good. Thanks for working on this, when I use LSAN on my patches > before submitting them I often see a lot of existing leaks coming from > struct rev_info. Yeah it'll become a lot more useful now.