mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
DIRECTOR: Fix leak in Window::runTests()
This commit is contained in:
1 parent
d69dac6016
commit
871c1d0907
1 file changed
+1
@@ -304,6 +304,7 @@ void Window::runTests() {
|
||||
initGraphics(640, 480);
|
||||
|
||||
_mainArchive = new RIFXArchive();
|
||||
g_director->_allOpenResFiles.setVal("test.dir", _mainArchive);
|
||||
if (!_mainArchive->openStream(stream, 0)) {
|
||||
error("DirectorEngine::runTests(): Bad movie data");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user