[alsa-devel] [PATCH] ALSA: firewire-tascam: fix memory leak of private data
Takashi Iwai
tiwai at suse.de
Thu Sep 13 15:23:01 CEST 2018
On Thu, 13 Sep 2018 14:31:05 +0200,
Takashi Sakamoto wrote:
>
> Although private data of sound card instance is usually allocated in the
> tail of the instance, drivers in ALSA firewire stack allocate the private
> data before allocating the instance. In this case, the private data
> should be released explicitly at .private_free callback of the instance.
>
> This commit fixes memory leak following to the above design.
>
> Fixes: b610386c8afb ('ALSA: firewire-tascam: deleyed 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