aboutsummaryrefslogtreecommitdiff
path: root/engines/queen/logic.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2006-11-13 23:38:44 +0000
committerTorbjörn Andersson2006-11-13 23:38:44 +0000
commit2d8bd1add37835d7e0f6ebd71a57852748f3890d (patch)
treef511a65f8c9faa614c5eae0260652cb42589e90b /engines/queen/logic.cpp
parentcc8653604ed9255132fe1404c6a2ef59d81c54f2 (diff)
downloadscummvm-rg350-2d8bd1add37835d7e0f6ebd71a57852748f3890d.tar.gz
scummvm-rg350-2d8bd1add37835d7e0f6ebd71a57852748f3890d.tar.bz2
scummvm-rg350-2d8bd1add37835d7e0f6ebd71a57852748f3890d.zip
Reverted previous commit to keep FotAQ from crashing. The LineReader class
already frees the buffer when it's done with it. svn-id: r24717
Diffstat (limited to 'engines/queen/logic.cpp')
-rw-r--r--engines/queen/logic.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/engines/queen/logic.cpp b/engines/queen/logic.cpp
index 3dfca256ad..150afb5a6b 100644
--- a/engines/queen/logic.cpp
+++ b/engines/queen/logic.cpp
@@ -253,8 +253,6 @@ void Logic::readQueenJas() {
for (i = 1; i <= _numAFile; i++) {
_aFile.push_back(queen2jas.nextLine());
}
-
- delete[] buf;
}
void Logic::start() {