Skip to content

Commit

Permalink
IPHONE: Send dealloc message to iPhoneView's superclass at the end of…
Browse files Browse the repository at this point in the history
… dealloc.
  • Loading branch information
Johannes Schickel committed Mar 5, 2012
1 parent 323899d commit 62f5938
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backends/platform/iphone/iphone_video.mm
Expand Up @@ -234,15 +234,15 @@ - (id)initWithFrame:(struct CGRect)frame {
}

- (void)dealloc {
[super dealloc];

if (_keyboardView != nil) {
[_keyboardView dealloc];
}

_videoContext.screenTexture.free();
_videoContext.overlayTexture.free();
_videoContext.mouseTexture.free();

[super dealloc];
}

- (void)drawRect:(CGRect)frame {
Expand Down

0 comments on commit 62f5938

Please sign in to comment.