diff --git a/backends/platform/iphone/osys_main.cpp b/backends/platform/iphone/osys_main.cpp index 8064fe44452..c47a2fc3a13 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) {