Re: [PATCH] sound/pci/mixart/mixart.c: Add missing snd_card_free

From: Takashi Iwai
Date: Thu Nov 27 2008 - 10:04:49 EST


At Thu, 27 Nov 2008 15:40:40 +0100 (CET),
Julia Lawall wrote:
>
> From: Julia Lawall <julia@xxxxxxx>
>
> 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@xxxxxxx>

Thanks, applied now.


Takashi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/