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

sev- sev at scummvm.org
Sat Apr 4 14:20:10 UTC 2020


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:
d47b2fbd0f DIRECTOR: Do not double delete MacArchive


Commit: d47b2fbd0f170e2ade3596cd650a037c05d32e7b
    https://github.com/scummvm/scummvm/commit/d47b2fbd0f170e2ade3596cd650a037c05d32e7b
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2020-04-04T16:19:45+02:00

Commit Message:
DIRECTOR: Do not double delete MacArchive

Changed paths:
    engines/director/resource.cpp


diff --git a/engines/director/resource.cpp b/engines/director/resource.cpp
index 984f18b760..ed6fc05611 100644
--- a/engines/director/resource.cpp
+++ b/engines/director/resource.cpp
@@ -61,8 +61,6 @@ void DirectorEngine::loadInitialMovie(const Common::String movie) {
 Archive *DirectorEngine::openMainArchive(const Common::String movie) {
 	debug(1, "openMainArchive(\"%s\")", movie.c_str());
 
-	delete _mainArchive;
-
 	_mainArchive = createArchive();
 
 	if (!_mainArchive->openFile(movie)) {




More information about the Scummvm-git-logs mailing list