Re: [PATCH] gpio: sloppy-logic-analyzer: Fix memory leak in gpio_la_poll_probe()

From: Wolfram Sang

Date: Sun Jul 12 2026 - 05:27:31 EST


On Fri, Jul 10, 2026 at 12:18:36PM +0530, Abdun Nihaal wrote:

> The memory allocated for priv->blob.data is not freed in the error paths
> that follow the fops_buf_size_set() call in gpio_la_poll_probe(), as
> well as in the remove function.

There is no memory allocated at that time. Hmm, maybe I should add a
comment explaining it.

Attachment: signature.asc
Description: PGP signature