Re: [PATCH] PnP Changes for 2.5.66

Adam Belay
2003-04-04T05:30:16Z

diff -Nru a/sound/isa/als100.c b/sound/isa/als100.c
--- a/sound/isa/als100.c Thu Apr 3 23:41:11 2003
+++ b/sound/isa/als100.c Thu Apr 3 23:41:11 2003
@@ -151,6 +151,7 @@
err = pnp_activate_dev(pdev);
if (err < 0) {
printk(KERN_ERR PFX "AUDIO pnp configure failure\n");
+ kfree(cfg);
return err;
}
port[dev] = pnp_port_start(pdev, 0);