Skip to content

Commit ec9b9f8

Browse files
committed
Merge pull request BradLarson#1231 from mtfrctl/external
Fixed #if line for iOS7. Previous version occurs memory leaking on iOS7,...
2 parents 66a223e + 53e958c commit ec9b9f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

framework/Source/iOS/GPUImagePicture.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ - (id)initWithCGImage:(CGImageRef)newImageSource smoothlyScaleOutput:(BOOL)smoot
200200
}
201201

202202
// ARC forbids explicit message send of 'release'; since iOS 6 even for dispatch_release() calls: stripping it out in that case is required.
203-
#if ( (__IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_6_0) || (!defined(__IPHONE_6_0)) )
203+
#if ( (__IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_7_0) || (!defined(__IPHONE_7_0)) )
204204
- (void)dealloc;
205205
{
206206
if (imageUpdateSemaphore != NULL)

0 commit comments

Comments
 (0)