Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fixed #if line for iOS7. Previous version occurs memory leaking on iOS7,... #1231

Merged
merged 1 commit into from

2 participants

@mtfrctl

... because there wasn't called dispatch_release(imageUpdateSemaphore) and libdispatch.dylib's malloc wasn't released.
screenshot 2013-10-06 18 21 06
screenshot 2013-10-06 18 21 11

@mtfrctl mtfrctl Fixed #if line for iOS7. Previous version occurs memory leaking on iO…
…S7, because there wasn't called dispatch_release(imageUpdateSemaphore) and libdispatch.dylib's malloc wasn't released.
53e958c
@BradLarson BradLarson merged commit ec9b9f8 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 6, 2013
  1. @mtfrctl

    Fixed #if line for iOS7. Previous version occurs memory leaking on iO…

    mtfrctl authored
    …S7, because there wasn't called dispatch_release(imageUpdateSemaphore) and libdispatch.dylib's malloc wasn't released.
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  framework/Source/iOS/GPUImagePicture.m
View
2  framework/Source/iOS/GPUImagePicture.m
@@ -170,7 +170,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)
Something went wrong with that request. Please try again.