Re: [PATCH] USB and Driver Core patches for 2.6.10
From: Greg KH (greg_at_kroah.com)
Date: 01/08/05
- Previous message: Greg KH: "Re: [PATCH] USB and Driver Core patches for 2.6.10"
- In reply to: Greg KH: "Re: [PATCH] USB and Driver Core patches for 2.6.10"
- Reply: Greg KH: "Re: [PATCH] USB and Driver Core patches for 2.6.10"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 7 Jan 2005 21:47:37 -0800 To: linux-usb-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org
ChangeSet 1.1938.439.50, 2005/01/06 17:28:51-08:00, jlamanna@gmail.com
[PATCH] USB: ov511.c - vfree() checking cleanups
ov511.c vfree() checking cleanups.
Signed-off by: James Lamanna <jlamanna@gmail.com>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/usb/media/ov511.c | 12 ++++--------
1 files changed, 4 insertions(+), 8 deletions(-)
diff -Nru a/drivers/usb/media/ov511.c b/drivers/usb/media/ov511.c
--- a/drivers/usb/media/ov511.c 2005-01-07 15:37:39 -08:00
+++ b/drivers/usb/media/ov511.c 2005-01-07 15:37:39 -08:00
@@ -3908,15 +3908,11 @@
ov->fbuf = NULL;
}
- if (ov->rawfbuf) {
- vfree(ov->rawfbuf);
- ov->rawfbuf = NULL;
- }
+ vfree(ov->rawfbuf);
+ ov->rawfbuf = NULL;
- if (ov->tempfbuf) {
- vfree(ov->tempfbuf);
- ov->tempfbuf = NULL;
- }
+ vfree(ov->tempfbuf);
+ ov->tempfbuf = NULL;
for (i = 0; i < OV511_NUMSBUF; i++) {
if (ov->sbuf[i].data) {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Greg KH: "Re: [PATCH] USB and Driver Core patches for 2.6.10"
- In reply to: Greg KH: "Re: [PATCH] USB and Driver Core patches for 2.6.10"
- Reply: Greg KH: "Re: [PATCH] USB and Driver Core patches for 2.6.10"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|