Tag: edb66893860dbc0631afc2807efdb209a03d57a2

ALSA: sound/isa/opti9xx/miro.c: eliminate possible double free

Author: Julia Lawall <Julia.Lawall@lip6.fr> snd_miro_probe is a static function that is only called twice in the file that defines it. At each call site, its argument is freed using snd_card_free. Thus, there is no need for snd_miro_probe to call snd_card_free on its argument on any of its error exit paths. Because snd_card_free both reads the …

Continue reading