[Scummvm-git-logs] scummvm master -> 84249a7ee34c2ace3db33635897245fdc4de75d1
eriktorbjorn
noreply at scummvm.org
Wed Sep 10 17:54:44 UTC 2025
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:
84249a7ee3 BAGEL: Fix Valgrind delete/free warning
Commit: 84249a7ee34c2ace3db33635897245fdc4de75d1
https://github.com/scummvm/scummvm/commit/84249a7ee34c2ace3db33635897245fdc4de75d1
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2025-09-10T19:54:22+02:00
Commit Message:
BAGEL: Fix Valgrind delete/free warning
Changed paths:
engines/bagel/hodjnpodj/hnplibs/dibapi.cpp
diff --git a/engines/bagel/hodjnpodj/hnplibs/dibapi.cpp b/engines/bagel/hodjnpodj/hnplibs/dibapi.cpp
index 64ef932ef75..5fc738370f1 100644
--- a/engines/bagel/hodjnpodj/hnplibs/dibapi.cpp
+++ b/engines/bagel/hodjnpodj/hnplibs/dibapi.cpp
@@ -333,7 +333,7 @@ HBITMAP DIBtoBitmap(HDC hDC, HPALETTE hPalette, HDIB hDib) {
DIB_RGB_COLORS);
assert(hBitmap);
- delete info;
+ free(info);
return hBitmap;
}
More information about the Scummvm-git-logs
mailing list