Re: [PATCH] of: overlay: fix memory leak related to duplicated property

From: Rob Herring
Date: Tue Oct 17 2017 - 10:06:46 EST


On Mon, Oct 16, 2017 at 4:54 AM, Lixin Wang <alan.1.wang@xxxxxxxxxxxxxxx> wrote:
> From: alawang <alan.1.wang@xxxxxxxxxxxxxxx>
>
> Function of_changeset_add_property or of_changeset_update_property may
> fails. In this case the property just allocated is never deallocated.
>
> Signed-off-by: Lixin Wang <alan.1.wang@xxxxxxxxxxxxxxx>
> ---
> drivers/of/overlay.c | 15 +++++++++++----
> 1 file changed, 11 insertions(+), 4 deletions(-)

Applied. Your author name and S-o-b name don't match. I fixed up the
author name. Please fix your git config.

Rob