Commit 2c9c762e authored by Jaroslav Kysela's avatar Jaroslav Kysela

ALSA CVS update - Takashi Iwai <tiwai@suse.de>

ALSA Core
fixed the wrong release of id proc file.
parent 5c319972
...@@ -281,7 +281,7 @@ int snd_card_free(snd_card_t * card) ...@@ -281,7 +281,7 @@ int snd_card_free(snd_card_t * card)
} }
if (card->private_free) if (card->private_free)
card->private_free(card); card->private_free(card);
snd_info_free_entry(card->proc_id); snd_info_unregister(card->proc_id);
if (snd_info_card_free(card) < 0) { if (snd_info_card_free(card) < 0) {
snd_printk(KERN_WARNING "unable to free card info\n"); snd_printk(KERN_WARNING "unable to free card info\n");
/* Not fatal error */ /* Not fatal error */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment