[Scummvm-cvs-logs] scummvm master -> 03d34f1f927cc3ac16f3f500688239f7b2f1fc8a

digitall dgturner at iee.org
Tue Sep 18 01:05:43 CEST 2012


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:
03d34f1f92 BASE: Close possible EngineManager memory leak.


Commit: 03d34f1f927cc3ac16f3f500688239f7b2f1fc8a
    https://github.com/scummvm/scummvm/commit/03d34f1f927cc3ac16f3f500688239f7b2f1fc8a
Author: D G Turner (digitall at scummvm.org)
Date: 2012-09-17T16:01:36-07:00

Commit Message:
BASE: Close possible EngineManager memory leak.

This singleton was omitted from fuzzie's memory leak fixes in 6bff611.
Thanks to Tomaz^ for spotting this.

Changed paths:
    base/main.cpp



diff --git a/base/main.cpp b/base/main.cpp
index 25e1b88..f538243 100644
--- a/base/main.cpp
+++ b/base/main.cpp
@@ -511,6 +511,7 @@ extern "C" int scummvm_main(int argc, const char * const argv[]) {
 #ifdef USE_FREETYPE2
 	Graphics::shutdownTTF();
 #endif
+	EngineManager::destroy();
 
 	return 0;
 }






More information about the Scummvm-git-logs mailing list