[ros-bugs] [Bug 6119] DeleteDC leaks 4kb of memory

ReactOS.Bugzilla at reactos.org ReactOS.Bugzilla at reactos.org
Fri Apr 15 13:23:05 UTC 2011


http://www.reactos.org/bugzilla/show_bug.cgi?id=6119





--- Comment #3 from maku <mkupfer at reactos.org>  2011-04-15 13:23:04 CET ---
(In reply to comment #2)
> Leak per process? Or when the process dies the 4 k is still gone? DCATTR uses a
> per process cache and this might be where the confusion is at.... Thus, normal.
> 
Leak means in that case, that the WM_TIMER refresh of each app consumes a lot
of additional memory which may result in BSOD due to lack of memory. It's not
enough to free it after the end of application, because it leads to an
unexpected early end...

AFAIR as principle of a cache it will reuse the freed DC at next
CreateCompatibleDC-call, but the next identical call will consume the next 4 k.
Just to make clear it can't keep unchanged...


-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the Ros-bugs mailing list