patch-2.4.8 linux/drivers/sound/sb_mixer.c

Next file: linux/drivers/sound/via82cxxx_audio.c
Previous file: linux/drivers/sound/sb_card.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.7/linux/drivers/sound/sb_mixer.c linux/drivers/sound/sb_mixer.c
@@ -748,6 +748,7 @@
 
 void sb_mixer_unload(sb_devc *devc)
 {
+	kfree(mixer_devs[devc->my_mixerdev]);
 	sound_unload_mixerdev(devc->my_mixerdev);
 	sbmixnum--;
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)