[PATCH 34/44] Fix a memory leak in ns558.c
From: Vojtech Pavlik
Date: Tue Mar 16 2004 - 11:01:48 EST
You can pull this changeset from:
bk://kernel.bkbits.net/vojtech/input
===================================================================
ChangeSet@xxxxxxxxxxx, 2004-03-08 12:51:07+01:00, sebek64@xxxxxxx
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/