[alsa-devel] [PATCH] ALSA: oxfw: fix memory leak for model-dependent data at error path

Takashi Iwai tiwai at suse.de
Mon Sep 17 22:13:09 CEST 2018


On Mon, 17 Sep 2018 10:26:08 +0200,
Takashi Sakamoto wrote:
> 
> After allocating model-dependent data, ALSA OXFW driver has memory leak
> of the data at error path.
> 
> This commit releases the data at the error path.
> 
> Fixes: 6c29230e2a5f ('ALSA: oxfw: delayed registration of sound card')
> Cc: <stable at vger.kernel.org> # v4.7+
> Signed-off-by: Takashi Sakamoto <o-takashi at sakamocchi.jp>

Applied, thanks.


Takashi


More information about the Alsa-devel mailing list