[Scummvm-git-logs] scummvm master -> 866a65c0e892d83ae0d6329c2003989194e4e206
bluegr
noreply at scummvm.org
Thu May 14 15:52:12 UTC 2026
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
866a65c0e8 GOB: Fix memory leak in Inter_v7::o7_checkData
Commit: 866a65c0e892d83ae0d6329c2003989194e4e206
https://github.com/scummvm/scummvm/commit/866a65c0e892d83ae0d6329c2003989194e4e206
Author: Richard Perez (4702185+ripleyXLR8 at users.noreply.github.com)
Date: 2026-05-14T18:52:08+03:00
Commit Message:
GOB: Fix memory leak in Inter_v7::o7_checkData
The SeekableReadStream created per CD.INF file in the indexAppli <= 0
branch of o7_checkData() was never deleted.
Assisted-by: Claude:claude-sonnet-4-6
Changed paths:
engines/gob/inter_v7.cpp
diff --git a/engines/gob/inter_v7.cpp b/engines/gob/inter_v7.cpp
index 4ad97f52e2b..c2479edf276 100644
--- a/engines/gob/inter_v7.cpp
+++ b/engines/gob/inter_v7.cpp
@@ -1901,6 +1901,7 @@ void Inter_v7::o7_checkData(OpFuncParams ¶ms) {
break;
}
}
+ delete stream;
}
} else if (indexAppli >= 0 && (size_t) indexAppli <= installedApplications.size()) {
// Already installed appli, find its directory and set it as "current CD" path
More information about the Scummvm-git-logs
mailing list