阅读背景:

内存泄漏的问题。Instument在第2行中显示错误

来源:互联网 
NSArray *arrAllAttributes = [[NSArray alloc]init];
arrAllAttributes = [app mtdAllCountry];
[arrAllAttributes retain];
for(int i = 0; i<[arrAllAttributes count]; i++)
{
    NSDictionary *dictTemp1 = [[NSDictionary alloc]init];

    NSString *strCountryName;
    NSString *strCountryValue;

    dictTemp1 = [arrAllAttributes objectAtIndex:i];
    strCountryName = [dictTemp1 objectForKey:@"country"];
    strCountryValue = [dictTemp1 objectForKey:@"country_ID"];
    [dictTemp1 retain];
    [arrCountries addObject:strCountryName];
    [arrCountryValues addObject:strCountryValue];
}
NSArray *arrAllAttributes = [[NSArray alloc]ini



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: