[Scummvm-cvs-logs] scummvm master -> 62f59389a48fc8676329170c92ea7709ce5d9acb
lordhoto
lordhoto at gmail.com
Tue Mar 6 02:30:21 CET 2012
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
62f59389a4 IPHONE: Send dealloc message to iPhoneView's superclass at the end of dealloc.
Commit: 62f59389a48fc8676329170c92ea7709ce5d9acb
https://github.com/scummvm/scummvm/commit/62f59389a48fc8676329170c92ea7709ce5d9acb
Author: Johannes Schickel (lordhoto at scummvm.org)
Date: 2012-03-05T12:27:47-08:00
Commit Message:
IPHONE: Send dealloc message to iPhoneView's superclass at the end of dealloc.
Changed paths:
backends/platform/iphone/iphone_video.mm
diff --git a/backends/platform/iphone/iphone_video.mm b/backends/platform/iphone/iphone_video.mm
index 5b8d28e..5b78237 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 {
More information about the Scummvm-git-logs
mailing list