[alsa-devel] [PATCH] sound/pci/mixart/mixart.c: Add missing snd_card_free

Takashi Iwai tiwai at suse.de
Thu Nov 27 16:04:34 CET 2008


At Thu, 27 Nov 2008 15:40:40 +0100 (CET),
Julia Lawall wrote:
> 
> From: Julia Lawall <julia at diku.dk>
> 
> The function snd_mixart_create creates a link between mgr and card that
> allows snd_mixart_free to free card as well.  But if snd_mixart_create
> fails, then the link has not been created and card has to be freed explicitly.
> 
> 
> The semantic match that finds the problem is as follows:
> (http://www.emn.fr/x-info/coccinelle/)
(snip)
> Signed-off-by: Julia Lawall <julia at diku.dk>

Thanks, applied now.


Takashi


More information about the Alsa-devel mailing list