linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH v4 4/4] Input: adp5589: Fix possible memory leak of 'kpad'
@ 2020-04-07 13:40 Markus Elfring
  0 siblings, 0 replies; only message in thread
From: Markus Elfring @ 2020-04-07 13:40 UTC (permalink / raw)
  To: Alexandru Ardelean, linux-input
  Cc: linux-kernel, lkp, Dan Carpenter, Dmitry Torokhov,
	Lars-Peter Clausen

> 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-04-07 13:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-07 13:40 [PATCH v4 4/4] Input: adp5589: Fix possible memory leak of 'kpad' Markus Elfring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).