From mboxrd@z Thu Jan 1 00:00:00 1970 From: jlamanna@gmail.com Date: Tue, 04 Jan 2005 21:56:45 +0000 Subject: [KJ] [PATCH] [4/29] dvb_ca_en50221.c - vfree() checking cleanups Message-Id: <41db111d.36b0686e.2568.07b1@smtp.gmail.com> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============47510745618599759==" List-Id: To: kernel-janitors@vger.kernel.org --===============47510745618599759== Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit dvb_ca_en50221.c vfree() checking cleanups. Signed-off by: James Lamanna 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 - 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 up_write(&ca->slot_info[slot].sem); --===============47510745618599759== Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline _______________________________________________ Kernel-janitors mailing list Kernel-janitors@lists.osdl.org http://lists.osdl.org/mailman/listinfo/kernel-janitors --===============47510745618599759==--