lkml.org 
[lkml]   [1998]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectMemory leak in PS/2 mouse driver
Hi!

I found no corresponding kfree() to the kmalloc in aux_open in the PS/2
mouse driver in drivers/char/pc_keyb.c. I suggest adding a kfree(queue) at the
end of the release_aux function. That's more than 2K of kernel memory,
which is wasted every time the X server is restarted (ok, doesn't happen so
often, but with many days uptime on a machine with many short-time users...).

Happens with all recent kernels (I don't have old kernels around ;-).
---
Sent through Global Message Exchange - http://www.gmx.net

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.121 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site