Skip to content
Browse files

Merge pull request #1231 from mtfrctl/external

Fixed #if line for iOS7. Previous version occurs memory leaking on iOS7,...
  • Loading branch information...
2 parents 66a223e + 53e958c commit ec9b9f81dca8a59fc0b2ce356b8f0991be0f2282 @BradLarson committed Nov 4, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 framework/Source/iOS/GPUImagePicture.m
View
2 framework/Source/iOS/GPUImagePicture.m
@@ -200,7 +200,7 @@ - (id)initWithCGImage:(CGImageRef)newImageSource smoothlyScaleOutput:(BOOL)smoot
}
// ARC forbids explicit message send of 'release'; since iOS 6 even for dispatch_release() calls: stripping it out in that case is required.
-#if ( (__IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_6_0) || (!defined(__IPHONE_6_0)) )
+#if ( (__IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_7_0) || (!defined(__IPHONE_7_0)) )
- (void)dealloc;
{
if (imageUpdateSemaphore != NULL)

0 comments on commit ec9b9f8

Please sign in to comment.
Something went wrong with that request. Please try again.