patch-2.1.72 linux/drivers/sound/uart401.c

Next file: linux/fs/Config.in
Previous file: linux/drivers/sound/soundvers.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.71/linux/drivers/sound/uart401.c linux/drivers/sound/uart401.c
@@ -452,8 +452,7 @@
 	if (!devc->share_irq)
 		snd_release_irq(devc->irq);
 
-	/* Free device too !! - AC FIXME: CHECK THIS IS RIGHT */
-	if (devc)
+	if (!devc)
 		vfree(devc);
 	sound_unload_mididev(hw_config->slots[4]);
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov