[ros-kernel] Memory leak in win32k?

Waldo Alvarez Cañizares wac at lab.matcom.uh.cu
Tue Mar 2 16:30:39 CET 2004


Hi guys:
 
in the file:
subsys\win32k\ntuser\keyboard.c

InitKbdLayout seems to contain a memory leak KeyboardLayoutWSTR is never freed by what I can see. Check  it!

I propose to rewrite that function because is very badly written mixed allocations from paged/nonpaged pool, not needed allocations+frees
seems buggy too (I'm getting random pagefaults with a different allocation pattern but could be my modifications on the way in npool.c, pleas guys take a look seems buggy)
 
Best Regards
Waldo Alvarez
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 3443 bytes
Desc: not available
Url : http://reactos.com:8080/pipermail/ros-kernel/attachments/20040302/4a9ef085/attachment.bin


More information about the Ros-kernel mailing list