title: EXC_BAD_ACCESS error in during fetching data from custome objects
body: <p>I had stored custom objects data in Array. I am fetching data from Array of custom objects in a function. when I am calling function for first time it is working good but When I am calling it again and again I am getting EXC_BAD_ACCESS.</p>
  
  <p>Here is function details.</p>
  
  <pre><code>-(void) facebookDisplayFunction:(int)atIndex {
  
  
  FacebookWallData *wall = (FacebookWallData *)[facebook_wallDataArray objectAtIndex:atIndex];
  
  
  NSString *friendID= wall.actor_id;
  NSString *linkFetch= wall.permalink;
  NSString* postID=wall.postId;
  
  NSNumber *countNumber;
  
  NSString *friendName=@"";
  NSString* profileThumImage=@"";
  
  for(int i=0; i&lt; [facebook_LikesArray count];i++) {
  
      FacebookLikes* countValues=[[FacebookLikes alloc]init];
      countValues=[facebook_LikesArray objectAtIndex:i];
  
   //   NSLog(@" postId_wall %@  LikePostId = %@",postID,countValues.PostID);
      if([postID isEqualToString:countValues.PostID]) {
          countNumber=countValues.Count;
  
          if(countNumber&gt;0) 
              friendID=countValues.Friends;
  
          [countValues release];
          break;
      }
  
      [countValues release];
  }
  
  
  for(int i=0;i&lt; [facebook_FreindsArray count];i++) {
  
      FacebookFreinds* friendsRecord=[[FacebookFreinds alloc]init];
      friendsRecord=[facebook_FreindsArray objectAtIndex:i];
  
      if([friendID isEqualToString:friendsRecord.UID]) {
          friendName=friendsRecord.name;
          profileThumImage=friendsRecord.pic_smal;
          [friendsRecord release];
          break;
      }
      [friendsRecord release];
   }
  
  // Adding values in table //
  
  
  
  
  
  [imageData addObject:@"facebook.png"]; 
  [tableList addObject:wall.messages];
  [profileUserName addObject:friendName];
  [linksOfFacebookData addObject:linkFetch];
  [RetweetAndLikeData addObject:@"5"];
  [favedProfileThumb addObject:profileThumImage];
  [twitterPostID addObject:@""];
  [eachPostUID addObject:friendID];
  
    [wall release];
  </code></pre>
  
  <p>}</p>
  
  <p>And here I am calling function.
     [self facebookDisplayFunction:0];
     [self facebookDisplayFunction:0]; // EXC_BAD_ACCESS error here.</p>