[Scummvm-git-logs] scummvm master -> 8363d1f2c16c1d9aba0722e395d30272f22178aa
eriktorbjorn
noreply at scummvm.org
Sun Aug 2 12:01:03 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:
8363d1f2c1 PELROCK: Fix GCC warning
Commit: 8363d1f2c16c1d9aba0722e395d30272f22178aa
https://github.com/scummvm/scummvm/commit/8363d1f2c16c1d9aba0722e395d30272f22178aa
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2026-08-02T14:00:09+02:00
Commit Message:
PELROCK: Fix GCC warning
Changed paths:
engines/pelrock/pelrock.cpp
diff --git a/engines/pelrock/pelrock.cpp b/engines/pelrock/pelrock.cpp
index 86e3de705c9..8fba1060845 100644
--- a/engines/pelrock/pelrock.cpp
+++ b/engines/pelrock/pelrock.cpp
@@ -2091,7 +2091,7 @@ void PelrockEngine::pyramidCollapse() {
pyramidHotspot->index = 7;
_room->disableHotspot(21, pyramidHotspot, PERSIST_BOTH);
- free(pyramidHotspot);
+ delete pyramidHotspot;
_dialog->say(_res->_ingameTexts[kTextTaLuegoLucas]);
// Walk Alfred to right edge exit -> room 21
More information about the Scummvm-git-logs
mailing list