From 5b15f06b9299a27be5df028855ee6b592361bdf3 Mon Sep 17 00:00:00 2001 From: Vincent Bénony Date: Mon, 7 Dec 2015 13:39:20 +0100 Subject: IOS: Wrong deallocator called --- backends/platform/ios7/ios7_video.mm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'backends/platform') 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]; } -- cgit v1.2.3