[PATCH 34/44] Fix a memory leak in ns558.c
From: Vojtech Pavlik (vojtech_at_suse.cz)
Date: 03/16/04
- Previous message: Vojtech Pavlik: "[PATCH 27/44] Add DEC LK201/LK401 keyboard support"
- In reply to: Vojtech Pavlik: "[PATCH 33/44] Fix for devices that need padded HID packets"
- Next in thread: Vojtech Pavlik: "[PATCH 35/44] HID quirk (badpad) for Chic gamepad"
- Reply: Vojtech Pavlik: "[PATCH 35/44] HID quirk (badpad) for Chic gamepad"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: torvalds@osdl.org, vojtech@ucw.cz, linux-kernel@vger.kernel.org Date: Tue, 16 Mar 2004 15:19:38 +0100
You can pull this changeset from:
bk://kernel.bkbits.net/vojtech/input
===================================================================
ChangeSet@1.1608.78.8, 2004-03-08 12:51:07+01:00, sebek64@post.cz
input: Fix a memory leak in ns558.c
ns558.c | 1 +
1 files changed, 1 insertion(+)
===================================================================
diff -Nru a/drivers/input/gameport/ns558.c b/drivers/input/gameport/ns558.c
--- a/drivers/input/gameport/ns558.c Tue Mar 16 13:18:00 2004
+++ b/drivers/input/gameport/ns558.c Tue Mar 16 13:18:00 2004
@@ -289,6 +289,7 @@
#endif
case NS558_ISA:
release_region(port->gameport.io & ~(port->size - 1), port->size);
+ kfree(port);
break;
default:
-
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: Vojtech Pavlik: "[PATCH 27/44] Add DEC LK201/LK401 keyboard support"
- In reply to: Vojtech Pavlik: "[PATCH 33/44] Fix for devices that need padded HID packets"
- Next in thread: Vojtech Pavlik: "[PATCH 35/44] HID quirk (badpad) for Chic gamepad"
- Reply: Vojtech Pavlik: "[PATCH 35/44] HID quirk (badpad) for Chic gamepad"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|