From e854ec1bc98efcddc006fbf0078d15f51ffcb264 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 30 Aug 2014 21:44:28 -0400 Subject: ACCESS: Fix freeing _eseg correctly --- engines/access/amazon/amazon_game.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/access') diff --git a/engines/access/amazon/amazon_game.cpp b/engines/access/amazon/amazon_game.cpp index d15587f32f..0725863444 100644 --- a/engines/access/amazon/amazon_game.cpp +++ b/engines/access/amazon/amazon_game.cpp @@ -297,6 +297,8 @@ void AmazonEngine::doEstablish(int screenId, int estabIndex) { _screen->clearScreen(); delete _eseg; + _eseg = nullptr; + if (_establishMode == 0) _room->init4Quads(); } -- cgit v1.2.3