Re: Memory leak in PS/2 mouse driver

Andrea Arcangeli (andrea@e-mind.com)
Mon, 7 Dec 1998 21:11:42 +0100 (CET)


On Mon, 7 Dec 1998, Bernd Paysan wrote:

>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

Are you talking about the kmalloc at line 920? If so it can' t run anymore
after the boot since it' s in a __init function. All __init functions are
placed in a separate segment of code that will be released after the
system initialization a bit before forking init.

Tell me if I have not understood the right kmalloc.

Andrea Arcangeli

-
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/