Re: [PATCH] ALSA: firewire-digi00x: fix memory leak of private data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 13 Sep 2018 14:30:34 +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: 86c8dd7f4da3 ('ALSA: firewire-digi00x: delayed registration of sound card')
> Cc: <stable@xxxxxxxxxxxxxxx> # v4.7+
> Signed-off-by: Takashi Sakamoto <o-takashi@xxxxxxxxxxxxx>

Applied, thanks.


Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux