embedly/embedly-ios

Memory leak issue

Opened this issue · 2 comments

  • (NSString *)escapeUrlWithString:(NSString *)string, needs to return an autoreleased string or it causes a memory leak.
  • (NSString )escapeUrlWithString:(NSString *)string {
    return [(NSString *)CFURLCreateStringByAddingPercentEscapes(NULL,
    (CFStringRef) string,
    NULL,
    (CFStringRef) @"!
    '();:@&=+$,/?%#[]",
    kCFStringEncodingUTF8) autorelease];
    }

thanks! I will push an update to this today

fixed in a219a80