Fixed a memory leak in SystemScreenSaver.

This commit is contained in:
Leon Styhre 2021-02-28 18:58:52 +01:00
parent 5bcb9446f4
commit b6874acc01

View file

@ -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() {