[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANiq72mkmDYm1bxryS0Yknm9=j+nK7RhDKP9oGf1-6vVNp_rbQ@mail.gmail.com>
Date: Thu, 3 Mar 2022 02:19:24 +0100
From: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: linux-kernel <linux-kernel@...r.kernel.org>,
Miguel Ojeda <ojeda@...nel.org>,
Lars Poeschel <poeschel@...onage.de>
Subject: Re: [PATCH v1 2/3] auxdisplay: lcd2s: Fix memory leak in ->remove()
On Wed, Feb 23, 2022 at 4:47 PM Andy Shevchenko
<andriy.shevchenko@...ux.intel.com> wrote:
>
> Once allocated the struct lcd2s_data is never freed.
> Fix the memory leak by switching to devm_kzalloc().
>
> Fixes: 8c9108d014c5 ("auxdisplay: add a driver for lcd2s character display")
> Cc: Lars Poeschel <poeschel@...onage.de>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Thanks Andy, queued.
Cheers,
Miguel
Powered by blists - more mailing lists