diff options
author | Vincent Bénony | 2015-12-07 13:39:20 +0100 |
---|---|---|
committer | Vincent Bénony | 2016-01-06 16:17:34 +0100 |
commit | 5b15f06b9299a27be5df028855ee6b592361bdf3 (patch) | |
tree | f35946b59559a5e3d7a40f8c90c4d1939888f921 /backends | |
parent | 699c3504814300415ca983fbef2ed172fa9020de (diff) | |
download | scummvm-rg350-5b15f06b9299a27be5df028855ee6b592361bdf3.tar.gz scummvm-rg350-5b15f06b9299a27be5df028855ee6b592361bdf3.tar.bz2 scummvm-rg350-5b15f06b9299a27be5df028855ee6b592361bdf3.zip |
IOS: Wrong deallocator called
Diffstat (limited to 'backends')
-rw-r--r-- | backends/platform/ios7/ios7_video.mm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/backends/platform/ios7/ios7_video.mm b/backends/platform/ios7/ios7_video.mm index 8cd4751c59..266386bdd4 100644 --- a/backends/platform/ios7/ios7_video.mm +++ b/backends/platform/ios7/ios7_video.mm @@ -280,15 +280,13 @@ uint getSizeNextPOT(uint size) { } - (void)dealloc { - if (_keyboardView != nil) { - [_keyboardView dealloc]; - } + [_keyboardView release]; _videoContext.screenTexture.free(); _videoContext.overlayTexture.free(); _videoContext.mouseTexture.free(); - [_eventLock dealloc]; + [_eventLock release]; [super dealloc]; } |