[Scummvm-git-logs] scummvm master -> 1da186e5110d9047c0d81763c6ab4231e1da8086

rvanlaar noreply at scummvm.org
Tue Sep 20 20:18:58 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:
1da186e511 DIRECTOR: fix memory leak: Window::probeMacBinary


Commit: 1da186e5110d9047c0d81763c6ab4231e1da8086
    https://github.com/scummvm/scummvm/commit/1da186e5110d9047c0d81763c6ab4231e1da8086
Author: Roland van Laar (roland at rolandvanlaar.nl)
Date: 2022-09-20T22:18:47+02:00

Commit Message:
DIRECTOR: fix memory leak: Window::probeMacBinary

Changed paths:
    engines/director/resource.cpp


diff --git a/engines/director/resource.cpp b/engines/director/resource.cpp
index 7d77ea8819e..634deddc1a0 100644
--- a/engines/director/resource.cpp
+++ b/engines/director/resource.cpp
@@ -133,6 +133,7 @@ void Window::probeMacBinary(MacArchive *archive) {
 					v->preReleaseVer, v->region, v->str.c_str(), v->msg.c_str());
 
 				delete v;
+				delete vvers;
 			}
 		}
 




More information about the Scummvm-git-logs mailing list