潜在泄漏到escapedString

时间:2014-08-06 01:17:45

标签: ios objective-c memory-leaks

使用此代码:

NSString *escapedString = (__bridge NSString *)
    CFURLCreateStringByAddingPercentEscapes(NULL,
    (__bridge CFStringRef)([dictionary objectForKey:[keyArray objectAtIndex:i]]),
    NULL,
    (CFStringRef)@"!*'();:@&=+$,/?%#[]",
    kCFStringEncodingUTF8);

[POSTBody appendData:[[NSString stringWithFormat:@"%@=%@", 
    [keyArray objectAtIndex:i], escapedString] 
    dataUsingEncoding:NSUTF8StringEncoding]];

我收到此错误:

  

潜在泄漏到escapedString

0 个答案:

没有答案