diff options
author | Vincent Bénony | 2015-12-08 10:48:18 +0100 |
---|---|---|
committer | Vincent Bénony | 2016-01-06 16:17:35 +0100 |
commit | dad50ae0cc5c6daaa27d89cc85b07fffcaca7a77 (patch) | |
tree | 0986ebbcb295965535bfbc91fc1f4bd452350af3 /backends/platform/ios7 | |
parent | c813e5d87e7e2bb8a23e86ed04f689390dac1b60 (diff) | |
download | scummvm-rg350-dad50ae0cc5c6daaa27d89cc85b07fffcaca7a77.tar.gz scummvm-rg350-dad50ae0cc5c6daaa27d89cc85b07fffcaca7a77.tar.bz2 scummvm-rg350-dad50ae0cc5c6daaa27d89cc85b07fffcaca7a77.zip |
IOS: Fixes memory leak
Diffstat (limited to 'backends/platform/ios7')
-rw-r--r-- | backends/platform/ios7/ios7_video.mm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/backends/platform/ios7/ios7_video.mm b/backends/platform/ios7/ios7_video.mm index 49c4466a9c..dbb750362c 100644 --- a/backends/platform/ios7/ios7_video.mm +++ b/backends/platform/ios7/ios7_video.mm @@ -184,6 +184,12 @@ uint getSizeNextPOT(uint size) { [self addGestureRecognizer:swipeUp]; [self addGestureRecognizer:swipeDown]; [self addGestureRecognizer:doubleTapTwoFingers]; + + [swipeRight release]; + [swipeLeft release]; + [swipeUp release]; + [swipeDown release]; + [doubleTapTwoFingers release]; } - (CGFloat)optimalScale { |