diff options
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]; } |