[Scummvm-git-logs] scummvm master -> 7b26a8f6029a0ed5a92bed118c63fccebaa4db6d
athrxx
noreply at scummvm.org
Tue Sep 20 22:18:20 UTC 2022
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:
7b26a8f602 KYRA: add comment
Commit: 7b26a8f6029a0ed5a92bed118c63fccebaa4db6d
https://github.com/scummvm/scummvm/commit/7b26a8f6029a0ed5a92bed118c63fccebaa4db6d
Author: athrxx (athrxx at scummvm.org)
Date: 2022-09-21T00:18:08+02:00
Commit Message:
KYRA: add comment
Changed paths:
engines/kyra/resource/resource_intern.cpp
diff --git a/engines/kyra/resource/resource_intern.cpp b/engines/kyra/resource/resource_intern.cpp
index c38ca3f381d..2c9a873f979 100644
--- a/engines/kyra/resource/resource_intern.cpp
+++ b/engines/kyra/resource/resource_intern.cpp
@@ -1186,6 +1186,8 @@ Common::Archive *InstallerLoader::load(Resource *owner, const Common::String &fi
newEntry.name = entryStr;
}
+ // The pointer (and the responsibility for the deletion) has been
+ // passed on. Clear the variable as a signal that it can be reused.
outbuffer = nullptr;
fileList.push_back(newEntry);
}
More information about the Scummvm-git-logs
mailing list