lkml.org 
[lkml]   [2004]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH 34/44] Fix a memory leak in ns558.c
Date
From
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/

\
 
 \ /
  Last update: 2005-03-22 14:01    [from the cache]
©2003-2011 Jasper Spaans