[Scummvm-git-logs] scummvm master -> 0a330ad35ffa9449a5388653fc2e0cbc885a4009
grisenti
noreply at scummvm.org
Thu Nov 30 17:24:12 UTC 2023
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
0a330ad35f HPL1: Fix memory leak
Commit: 0a330ad35ffa9449a5388653fc2e0cbc885a4009
https://github.com/scummvm/scummvm/commit/0a330ad35ffa9449a5388653fc2e0cbc885a4009
Author: grisenti (emanuele at grisenti.net)
Date: 2023-11-30T18:24:01+01:00
Commit Message:
HPL1: Fix memory leak
Changed paths:
engines/hpl1/engine/impl/LowLevelGraphicsSDL.cpp
diff --git a/engines/hpl1/engine/impl/LowLevelGraphicsSDL.cpp b/engines/hpl1/engine/impl/LowLevelGraphicsSDL.cpp
index 11e5cb0605b..5c16e394bbc 100644
--- a/engines/hpl1/engine/impl/LowLevelGraphicsSDL.cpp
+++ b/engines/hpl1/engine/impl/LowLevelGraphicsSDL.cpp
@@ -129,6 +129,7 @@ cLowLevelGraphicsSDL::~cLowLevelGraphicsSDL() {
for (int i = 0; i < MAX_TEXTUREUNITS; i++)
hplFree(mpTexCoordArray[i]);
hplDelete(_gammaCorrectionProgram);
+ hplDelete(_screenBuffer);
}
bool cLowLevelGraphicsSDL::Init(int alWidth, int alHeight, int alBpp, int abFullscreen,
More information about the Scummvm-git-logs
mailing list