mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 23:55:38 +00:00
Fixed a memory leak in SystemScreenSaver.
This commit is contained in:
parent
5bcb9446f4
commit
b6874acc01
|
@ -217,7 +217,7 @@ void SystemScreensaver::stopScreensaver()
|
||||||
mSaturationAmount = 1.0;
|
mSaturationAmount = 1.0;
|
||||||
|
|
||||||
if (mGameOverlay)
|
if (mGameOverlay)
|
||||||
mGameOverlay.release();
|
mGameOverlay.reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
void SystemScreensaver::nextGame() {
|
void SystemScreensaver::nextGame() {
|
||||||
|
|
Loading…
Reference in a new issue