From: jlamanna@gmail.com
To: kernel-janitors@vger.kernel.org
Subject: [KJ] [PATCH] [RESEND] [4/29] dvb_ca_en50221.c - vfree() checking
Date: Tue, 04 Jan 2005 23:17:36 +0000 [thread overview]
Message-ID: <auto-000001227475@appliedminds.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 791 bytes --]
dvb_ca_en50221.c vfree() checking cleanups.
Signed-off by: James Lamanna <jlamanna@gmail.com>
dvb_ca_en50221.c | 3 +--
1 files changed, 1 insertion(+), 2 deletions(-)
--- linux-2.6.10-vanilla/drivers/media/dvb/dvb-core/dvb_ca_en50221.c 2004-12-24 13:34:31.000000000 -0800
+++ linux-2.6.10/drivers/media/dvb/dvb-core/dvb_ca_en50221.c 2005-01-04 11:36:06.000000000 -0800
@@ -805,8 +805,7 @@
down_write(&ca->slot_info[slot].sem);
ca->pub->slot_shutdown(ca->pub, slot);
ca->slot_info[slot].slot_state = DVB_CA_SLOTSTATE_NONE;
- if (ca->slot_info[slot].rx_buffer.data)
- vfree(ca->slot_info[slot].rx_buffer.data);
+ vfree(ca->slot_info[slot].rx_buffer.data);
ca->slot_info[slot].rx_buffer.data = NULL;
up_write(&ca->slot_info[slot].sem);
[-- Attachment #2: Type: text/plain, Size: 167 bytes --]
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors
reply other threads:[~2005-01-04 23:17 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=auto-000001227475@appliedminds.com \
--to=jlamanna@gmail.com \
--cc=kernel-janitors@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;
as well as URLs for NNTP newsgroup(s).