Re: [PATCH] notes: avoid leaking duplicate entries
- From
Mike Hommey <mh@glandium.org>
- Date
- Aug 26, 2019, 01:55 UTC
- Message-ID
- <20190826015502.qbgn557xjylju4o6@glandium.org>
- In-Reply-To
- <20190825051818.9621-1-mh@glandium.org>
On Sun, Aug 25, 2019 at 02:18:18PM +0900, Mike Hommey wrote:
> When add_note is called multiple times with the same key/value pair, the > leaf_node it creates is leaked by notes_tree_insert.
For completeness, since I realized it was missing: Signed-off-by: Mike Hommey <mh@glandium.org>
Mike