我正在使用以下代码并且正在使用 ARC
NSString *text;
static NSString *CellIdentifier=@"Cell";
FeedsCell *cell= [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
if (cell == nil)
{
    cell = [[FeedsCell alloc] initWithStyle:UITableViewCellStyleSubtitle  reuseIdentifier:CellIdentifier];
}
if (indexPath.row == [feedsData count]-1)
{
    [spinner startAnimating];
    [spinner setHidesWhenStopped:YES];
    OnDemand_fetch *getData = [[OnDemand_fetch alloc] init];
    if(nextUrl != NULL)
    {
        NSString *nextfbUrl = [getData getnextFbfeedUrl];
        NSString *nexturlEdited = [nextfbUrl stringByReplacingOccurrencesOfString:@"|" withString:@"%7C"];
        [demandfetch getFeedsInBackground:nexturlEdited];
    }
    else
    {
        [spinner stopAnimating];
        self.myTableView.tableFooterView=nil;
     }   
在分析时,显示警告:“在第 267 行分配并存储到 'getData' 中的对象的潜在泄漏。”
谁能建议避免这种情况的方法?这会造成什么麻烦吗?
谢谢
