aboutsummaryrefslogtreecommitdiff
path: root/engines/agos
diff options
context:
space:
mode:
authorGregory Montoir2006-11-03 21:01:49 +0000
committerGregory Montoir2006-11-03 21:01:49 +0000
commitf9cf368a670ee58b579da8affca914e0b5634d8c (patch)
tree912962b56d37a0d66b367458ba69e6dd90079e27 /engines/agos
parente57316c7965ee6518c167328523ceb8e50dfe6e3 (diff)
downloadscummvm-rg350-f9cf368a670ee58b579da8affca914e0b5634d8c.tar.gz
scummvm-rg350-f9cf368a670ee58b579da8affca914e0b5634d8c.tar.bz2
scummvm-rg350-f9cf368a670ee58b579da8affca914e0b5634d8c.zip
got rid of two memory leaks
svn-id: r24589
Diffstat (limited to 'engines/agos')
-rw-r--r--engines/agos/game.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/engines/agos/game.cpp b/engines/agos/game.cpp
index 9cf545f5b9..55fa425a5a 100644
--- a/engines/agos/game.cpp
+++ b/engines/agos/game.cpp
@@ -219,8 +219,6 @@ bool AGOSEngine::initGame() {
}
}
- //delete &matches;
-
if (gameNumber >= ARRAYSIZE(gameDescriptions) || gameNumber == -1) {
error("AGOSEngine::loadGame wrong gameNumber");
}