Created
June 11, 2015 17:30
-
-
Save Tricertops/6498d36497d0a66611cc to your computer and use it in GitHub Desktop.
Recursive CFRelese() crash.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NSArray *foundationImmutableArray = @[]; | |
NSArray *coreFoundationArray = (__bridge_transfer NSArray *)CFArrayCreateCopy(NULL, (__bridge_retained CFArrayRef)foundationImmutableArray); | |
id coreFoundationCopy = [[coreFoundationArray class] new]; | |
coreFoundationCopy = nil; // Recursive CFRelease() crash! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment