From: Alex Tomas <bzzz@tmi.comex.ru>
To: linux-kernel@vger.kernel.org
Cc: dan carpenter <error27@email.com>, Andrew Morton <akpm@digeo.com>,
ext2-devel@lists.sourceforge.net
Subject: [PATCH] minor memleak in ext3 (catched by smatch)
Date: 06 Mar 2003 17:14:15 +0300 [thread overview]
Message-ID: <m3n0k81t1k.fsf@lexa.home.net> (raw)
This minor memory leak has been catched by smatch.
Thanks to Dan Carpenter!
--- linux/fs/ext3/super.c Mon Feb 24 17:47:45 2003
+++ super.c Thu Mar 6 17:09:31 2003
@@ -1154,7 +1154,7 @@
if (!bh) {
printk(KERN_ERR
"EXT3-fs: Can't read superblock on 2nd try.\n");
- return -EINVAL;
+ goto out_fail;
}
es = (struct ext3_super_block *)(((char *)bh->b_data) + offset);
sbi->s_es = es;
reply other threads:[~2003-03-06 14:10 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=m3n0k81t1k.fsf@lexa.home.net \
--to=bzzz@tmi.comex.ru \
--cc=akpm@digeo.com \
--cc=error27@email.com \
--cc=ext2-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®