[PATCH] regmap: fix memory leak with map->patch

Mark Brown broonie at kernel.org
Wed Jun 17 20:26:48 CEST 2020


On Wed, Jun 17, 2020 at 11:39:00AM -0500, Pierre-Louis Bossart wrote:
> kmemleak throws the following error on devices using
> regmap_register_patch().  map->patch is allocated dynamically with
> krealloc() but never freed.

Charles sent a patch fixing this already.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20200617/e9c08cd5/attachment.sig>


More information about the Alsa-devel mailing list