Tag: 73f6a12ed187b7e7ac9334d1419ba7bf7ac1be26

ALSA: sound/pci/mixart/mixart.c: Add missing snd_card_free

Author: Julia Lawall <julia@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/) // @r exists@ local …

Continue reading