RE: [PATCH] drm: rcar-du: Fix memory leak in rcar_du_vsps_init()

2023-11-16 Thread Biju Das
Hi Laurent, Thanks for the feedback. > -Original Message- > From: Laurent Pinchart > Sent: Thursday, November 16, 2023 1:25 AM > Subject: Re: [PATCH] drm: rcar-du: Fix memory leak in rcar_du_vsps_init() > > Hi Biju, > > Thank you for the patch. > > On W

Re: [PATCH] drm: rcar-du: Fix memory leak in rcar_du_vsps_init()

2023-11-15 Thread Laurent Pinchart
Hi Biju, Thank you for the patch. On Wed, Nov 15, 2023 at 03:09:32PM +, Biju Das wrote: > The rcar_du_vsps_init() doesn't free the np allocated by > of_parse_phandle_with_fixed_args() for the non-error case. > > Fix memory leak for the non-error case. Good catch. > Fixes: 3e81374e2014

[PATCH] drm: rcar-du: Fix memory leak in rcar_du_vsps_init()

2023-11-15 Thread Biju Das
The rcar_du_vsps_init() doesn't free the np allocated by of_parse_phandle_with_fixed_args() for the non-error case. Fix memory leak for the non-error case. Fixes: 3e81374e2014 ("drm: rcar-du: Support multiple sources from the same VSP") Signed-off-by: Biju Das ---