Re: [PATCH 03/29] notes-utils: free note trees when releasing copied notes
- From
Karthik Nayak <karthik.188@gmail.com>
- Date
- Jun 6, 2024, 10:02 UTC
- Message-ID
- <CAOLa=ZQqGoVtG2uHRxf284H3JhYq09Dxy12Fj6UmiGyAjXwe=Q@mail.gmail.com>
- In-Reply-To
- <17a8f532752e005601b1cff5690a4dae16096b8b.1717402439.git.ps@pks.im>
Patrick Steinhardt <ps@pks.im> writes:
> While we clear most of the members of `struct notet_rewrite_cfg` in > `finish_copy_notes_for_rewrite()`, we do not clear the notes tree. Fix > this to plug this memory leak. >
Nit: s/notet_rewrite_cfg/notes_rewrite_cfg
The commit itself looks good.