mirror of
https://github.com/reactos/reactos.git
synced 2025-02-21 16:04:57 +00:00
[SNDVOL32] Fix GetDC/ReleaseDC error management (#2713)
GetDC() is called without properly calling ReleaseDC() as required in order to releases a device context. Similar to #2707
This commit is contained in:
parent
633770ab0d
commit
bfd02fa107
1 changed files with 2 additions and 0 deletions
|
@ -408,6 +408,8 @@ LoadDialog(
|
|||
MixerWindow->baseUnit.cx = charSize.cx;
|
||||
MixerWindow->baseUnit.cy = charSize.cy;
|
||||
}
|
||||
|
||||
ReleaseDC(NULL, hDC);
|
||||
}
|
||||
|
||||
// assert(MixerWindow->hFont);
|
||||
|
|
Loading…
Reference in a new issue