Re: [PATCH v4 4/4] Input: adp5589: Fix possible memory leak of 'kpad'
From: Markus Elfring
Date: Tue Apr 07 2020 - 09:40:35 EST
> If 'adp5589_i2c_get_driver_data()' returns an error, the exit path should
> be to also free the 'kpad' object.
Wording alternative:
Release the kpad object also after a failed call of
the function âadp5589_i2c_get_driver_dataâ.
> This change fixes that.
Please replace this sentence by the tag âFixesâ
(because the exception handling was improved).
Regards,
Markus