Re: [PATCH v2 1/5] Input: adp5589: use devm_kzalloc() to allocate the kpad object
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2020-11-19 07:06:28
Also in:
lkml
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2020-11-19 07:06:28
Also in:
lkml
On Thu, Nov 12, 2020 at 09:43:04AM +0200, Alexandru Ardelean wrote:
This removes the need to manually free the kpad object and cleans up some exit/error paths. The error path cleanup should reduce the risk of any memory leaks with this object. Signed-off-by: Alexandru Ardelean <redacted>
Applied, thank you. -- Dmitry