patch-2.2.18 linux/drivers/sound/uart401.c
Next file: linux/drivers/sound/via82cxxx_audio.c
Previous file: linux/drivers/sound/trident.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Thu Aug 31 14:55:00 2000
- Orig file:
v2.2.17/drivers/sound/uart401.c
- Orig date:
Fri Apr 21 12:46:36 2000
diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/drivers/sound/uart401.c linux/drivers/sound/uart401.c
@@ -317,8 +317,8 @@
{
printk(KERN_WARNING "uart401: Failed to allocate memory\n");
kfree(midi_devs[devc->my_dev]);
- kfree(devc);
sound_unload_mididev(devc->my_dev);
+ kfree(devc);
devc=NULL;
return;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)