diff options
author | Johannes Schickel | 2012-03-05 21:27:18 +0100 |
---|---|---|
committer | Johannes Schickel | 2012-03-05 21:27:47 +0100 |
commit | 62f59389a48fc8676329170c92ea7709ce5d9acb (patch) | |
tree | be9e513a4f643e8d19bff6aec0ce4c158dad1e50 /backends/platform/iphone | |
parent | 323899d70baaf76a9ad51713f9c0f36f5c8d3def (diff) | |
download | scummvm-rg350-62f59389a48fc8676329170c92ea7709ce5d9acb.tar.gz scummvm-rg350-62f59389a48fc8676329170c92ea7709ce5d9acb.tar.bz2 scummvm-rg350-62f59389a48fc8676329170c92ea7709ce5d9acb.zip |
IPHONE: Send dealloc message to iPhoneView's superclass at the end of dealloc.
Diffstat (limited to 'backends/platform/iphone')
-rw-r--r-- | backends/platform/iphone/iphone_video.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/iphone/iphone_video.mm b/backends/platform/iphone/iphone_video.mm index 5b8d28e819..5b78237ff7 100644 --- a/backends/platform/iphone/iphone_video.mm +++ b/backends/platform/iphone/iphone_video.mm @@ -234,8 +234,6 @@ const char *iPhone_getDocumentsDir() { } - (void)dealloc { - [super dealloc]; - if (_keyboardView != nil) { [_keyboardView dealloc]; } @@ -243,6 +241,8 @@ const char *iPhone_getDocumentsDir() { _videoContext.screenTexture.free(); _videoContext.overlayTexture.free(); _videoContext.mouseTexture.free(); + + [super dealloc]; } - (void)drawRect:(CGRect)frame { |