[Scummvm-git-logs] scummvm master -> fc2340449dcfa72bd0edddef5e9d2bc08672768e

sev- sev at scummvm.org
Fri Mar 5 18:14:54 UTC 2021


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:
fc2340449d PRIVATE: Plug memory leak


Commit: fc2340449dcfa72bd0edddef5e9d2bc08672768e
    https://github.com/scummvm/scummvm/commit/fc2340449dcfa72bd0edddef5e9d2bc08672768e
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2021-03-05T19:14:24+01:00

Commit Message:
PRIVATE: Plug memory leak

Changed paths:
    engines/private/private.cpp


diff --git a/engines/private/private.cpp b/engines/private/private.cpp
index 154c9bd67c..aebb47eb39 100644
--- a/engines/private/private.cpp
+++ b/engines/private/private.cpp
@@ -112,6 +112,9 @@ PrivateEngine::~PrivateEngine() {
     delete _frame;
     delete _rnd;
 
+    delete Gen::g_vm;
+    delete Settings::g_setts;
+
     // Remove all of our debug levels
     DebugMan.clearAllDebugChannels();
 }




More information about the Scummvm-git-logs mailing list