cs4232 doesn't kfree on error path
PATCH 1/1 cs4232 doesn't kfree on error path
From: (via Rusty) Marcus Alanen <[email protected]>
===== sound/oss/cs4232.c 1.5 vs edited =====
sound/oss/cs4232.c renamed from sound/oss/cs4232.c.orig +1 -0
@@ -406,6 +406,7 @@ isapnpcfg->io_base = dev->resource[0 ].start;if (probe_cs4232 (isapnpcfg,TRUE) ==0 ) {printk (KERN_ERR "cs4232: ISA PnP card found, but not detected?\n" ); +kfree (isapnpcfg);return -ENODEV ; }attach_cs4232 (isapnpcfg);
Signature · 1 line
Don't blame me: the Monkey is driving