mirror of
https://github.com/reactos/reactos.git
synced 2024-11-18 13:01:40 +00:00
aaf1943349
Fix missing ReleaseDC related to the spectrum (color depth)
We leaked one device context for each bpp change within the
desk.cpl-session, which gave the following logging when closing desk.cpl:
(win32ss/user/ntuser/windc.c:749) err: [00060138] GetDC() without ReleaseDC()!
1 time for each leak.
Partial backport of (#2707)
Fix picked from 0.4.15-dev-2867-g
|
||
---|---|---|
.. | ||
lang | ||
resources | ||
advappdlg.c | ||
advmon.c | ||
appearance.c | ||
appearance.h | ||
background.c | ||
classinst.c | ||
CMakeLists.txt | ||
desk.c | ||
desk.h | ||
desk.rc | ||
desk.spec | ||
devsett.c | ||
dibitmap.c | ||
draw.c | ||
draw.h | ||
effappdlg.c | ||
general.c | ||
guid.c | ||
misc.c | ||
monslctl.c | ||
monslctl.h | ||
muireg.c | ||
preview.c | ||
preview.h | ||
resource.h | ||
screensaver.c | ||
settings.c | ||
theme.c |