From: Rusty Trivial Russell <rusty@rustcorp.com.au>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: linux-kernel@vger.kernel.org
Subject: [TRIVIAL] [patch, 2.5] cs4232 doesn't kfree on error path
Date: Thu, 18 Jul 2002 13:09:57 +1000 [thread overview]
Message-ID: <20020718032338.511C04462@lists.samba.org> (raw)
From: (via Rusty) Marcus Alanen <maalanen@ra.abo.fi>
===== sound/oss/cs4232.c 1.5 vs edited =====
--- trivial-2.5.26/sound/oss/cs4232.c.orig Thu Jul 18 13:00:55 2002
+++ trivial-2.5.26/sound/oss/cs4232.c Thu Jul 18 13:00:55 2002
@@ -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);
--
Don't blame me: the Monkey is driving
reply other threads:[~2002-07-18 3:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020718032338.511C04462@lists.samba.org \
--to=rusty@rustcorp.com.au \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox