[Scummvm-git-logs] scummvm master -> 65e99041efb58d75453e6568a00a34824efc6978
sev-
noreply at scummvm.org
Sat Jan 25 17:11:27 UTC 2025
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:
65e99041ef VIDEO: Fix calloc/delete mismatch
Commit: 65e99041efb58d75453e6568a00a34824efc6978
https://github.com/scummvm/scummvm/commit/65e99041efb58d75453e6568a00a34824efc6978
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2025-01-25T18:11:03+01:00
Commit Message:
VIDEO: Fix calloc/delete mismatch
Changed paths:
video/qt_decoder.cpp
diff --git a/video/qt_decoder.cpp b/video/qt_decoder.cpp
index 1ee19c3c349..453a77a55db 100644
--- a/video/qt_decoder.cpp
+++ b/video/qt_decoder.cpp
@@ -1305,7 +1305,7 @@ void QuickTimeDecoder::cleanupCursors() {
for (int i = 0; i < kCurLastCursor; i++)
delete _cursorCache[i];
- delete _cursorCache;
+ free(_cursorCache);
_cursorCache = nullptr;
}
More information about the Scummvm-git-logs
mailing list