RE: [PATCH 1/2] of: overlay: fix memory leak related to duplicated property

2017-10-15 Thread Wang, Alan 1. (NSB - CN/Hangzhou)
ank Rowand [mailto:frowand.l...@gmail.com] Sent: Saturday, October 14, 2017 5:39 AM To: Wang, Alan 1. (NSB - CN/Hangzhou) ; Pantelis Antoniou ; Rob Herring Cc: linux-kernel@vger.kernel.org; devicet...@vger.kernel.org Subject: Re: [PATCH 1/2] of: overlay: fix memory leak related to duplicated property

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

2017-10-13 Thread Frank Rowand
On 10/12/17 18:53, alawang wrote: > 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: alawang > --- > drivers/of/overlay.c | 15 +++ > 1 file changed, 11 insertions(+), 4 d