aboutsummaryrefslogtreecommitdiff
path: root/backends/platform
diff options
context:
space:
mode:
authorVincent Bénony2015-12-07 13:39:20 +0100
committerVincent Bénony2016-01-06 16:17:34 +0100
commit5b15f06b9299a27be5df028855ee6b592361bdf3 (patch)
treef35946b59559a5e3d7a40f8c90c4d1939888f921 /backends/platform
parent699c3504814300415ca983fbef2ed172fa9020de (diff)
downloadscummvm-rg350-5b15f06b9299a27be5df028855ee6b592361bdf3.tar.gz
scummvm-rg350-5b15f06b9299a27be5df028855ee6b592361bdf3.tar.bz2
scummvm-rg350-5b15f06b9299a27be5df028855ee6b592361bdf3.zip
IOS: Wrong deallocator called
Diffstat (limited to 'backends/platform')
-rw-r--r--backends/platform/ios7/ios7_video.mm6
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];
}