Re: [PATCH] Input: ili210x: Fix potential memory leaks

From: Marco Felsch
Date: Wed Aug 05 2020 - 03:50:47 EST


Hi Adam,

On 20-08-04 13:30, Adam Ford wrote:
> This driver requests, memory twice and requests a threaded irq, but
> it doesn't free any of them if something fails.

Free'ing is done automatically because the driver uses devres
(identified by devm_ prepfix) functions.

Regards,
Marco