[Scummvm-git-logs] scummvm master -> 94cef883b3914a40e8e6f40314edaef9d09eca04

bluegr noreply at scummvm.org
Mon Sep 4 07:32:24 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:
94cef883b3 ACCESS: Fix resource/file handle leak in Amazon:GoE


Commit: 94cef883b3914a40e8e6f40314edaef9d09eca04
    https://github.com/scummvm/scummvm/commit/94cef883b3914a40e8e6f40314edaef9d09eca04
Author: PushmePullyu (127053144+PushmePullyu at users.noreply.github.com)
Date: 2023-09-04T10:32:19+03:00

Commit Message:
ACCESS: Fix resource/file handle leak in Amazon:GoE

Fixes #14601

Changed paths:
    engines/access/amazon/amazon_game.cpp


diff --git a/engines/access/amazon/amazon_game.cpp b/engines/access/amazon/amazon_game.cpp
index 53d68e4086c..5ed18147e4e 100644
--- a/engines/access/amazon/amazon_game.cpp
+++ b/engines/access/amazon/amazon_game.cpp
@@ -665,6 +665,9 @@ void AmazonEngine::startChapter(int chapter) {
 			_scripts->cmdRetPos();
 		}
 	}
+
+	delete _establish;
+	_establish = nullptr;
 }
 
 




More information about the Scummvm-git-logs mailing list