Re: [PATCH 2/6] nvmem: fix memory leak in error path

From: Srinivas Kandagatla
Date: Tue Feb 18 2020 - 04:31:11 EST




On 17/02/2020 19:54, Bartosz Golaszewski wrote:
From: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>

We need to remove the ida mapping when returning from nvmem_register()
with an error.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>
---

Applied thanks,
--srini