[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:
Kyle Katarn 2020-05-02 11:43:30 +02:00 committed by GitHub
parent 633770ab0d
commit bfd02fa107
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -408,6 +408,8 @@ LoadDialog(
MixerWindow->baseUnit.cx = charSize.cx;
MixerWindow->baseUnit.cy = charSize.cy;
}
ReleaseDC(NULL, hDC);
}
// assert(MixerWindow->hFont);