Commit c77fde96 authored by Marcus Alanen's avatar Marcus Alanen Committed by Linus Torvalds

Correctly free resources in old-OSS es1371 sound driver

parent a77c1764
......@@ -2972,6 +2972,11 @@ static int __devinit es1371_probe(struct pci_dev *pcidev, const struct pci_devic
err_gp:
if (s->gameport.io)
release_region(s->gameport.io, JOY_EXTENT);
#ifdef ES1371_DEBUG
if (s->ps)
remove_proc_entry("es1371", NULL);
#endif
unregister_sound_midi(s->dev_midi);
err_dev4:
unregister_sound_dsp(s->dev_dac);
err_dev3:
......
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