aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2012-02-20 00:36:13 +0100
committerJohannes Schickel2012-02-20 00:36:13 +0100
commit65cda4cd6b39c9b9e694a0a8ef696458ac1c2b20 (patch)
tree08f1d896ec018ff63f678490f958deb71b816c82
parent1b9c4f38456d607abf13dc483bd205351553122f (diff)
downloadscummvm-rg350-65cda4cd6b39c9b9e694a0a8ef696458ac1c2b20.tar.gz
scummvm-rg350-65cda4cd6b39c9b9e694a0a8ef696458ac1c2b20.tar.bz2
scummvm-rg350-65cda4cd6b39c9b9e694a0a8ef696458ac1c2b20.zip
IPHONE: Fix some mismatching malloc/delete calls.
-rw-r--r--backends/platform/iphone/osys_main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/iphone/osys_main.cpp b/backends/platform/iphone/osys_main.cpp
index 8064fe4445..c47a2fc3a1 100644
--- a/backends/platform/iphone/osys_main.cpp
+++ b/backends/platform/iphone/osys_main.cpp
@@ -70,8 +70,8 @@ OSystem_IPHONE::~OSystem_IPHONE() {
AudioQueueDispose(s_AudioQueue.queue, true);
delete _mixer;
- delete _gameScreenRaw;
- delete _gameScreenConverted;
+ free(_gameScreenRaw);
+ free(_gameScreenConverted);
}
int OSystem_IPHONE::timerHandler(int t) {