Bug#641946: [PATCH 1/2] fm801: Fix double free in case of error in tuner detection

2011-09-22 Thread Takashi Iwai
At Thu, 22 Sep 2011 14:38:58 +0100, Ben Hutchings wrote: > > Commit 9676001559fce06e37c7dc230ab275f605556176 > ("ALSA: fm801: add error handling if auto-detect fails") added > incorrect error handling. > > Once we have successfully called snd_device_new(), the cleanup > function fm801_free() will

Bug#641946: [PATCH 1/2] fm801: Fix double free in case of error in tuner detection

2011-09-22 Thread Ben Hutchings
Commit 9676001559fce06e37c7dc230ab275f605556176 ("ALSA: fm801: add error handling if auto-detect fails") added incorrect error handling. Once we have successfully called snd_device_new(), the cleanup function fm801_free() will automatically be called by snd_card_free() and we must *not* also call