title: NSXMLParser parse method memory leak
body: <p>I dont know why this <code>NSXMLParser parse</code> method is leaking.
  I looked at the other similar SO question, but couldn't resolved it.</p>
  
  <p>Here is my code.</p>
  
  <pre><code> - (void)parseXMLFileAtURL {
  self.results = [[NSMutableArray alloc] init];
  
  NSURL *xmlURL = [NSURL URLWithString:@"http://www.dukascopy.com/swiss/video/rss/"];
      NSData *dataXml = [[NSData alloc] initWithContentsOfURL:xmlURL];
  NSXMLParser *MyrssParser = [[NSXMLParser alloc] initWithData:dataXml];
  [dataXml release];
  
  [MyrssParser setDelegate:self];
  
  
  [MyrssParser setShouldProcessNamespaces:NO];
  [MyrssParser setShouldReportNamespacePrefixes:NO];
  [MyrssParser setShouldResolveExternalEntities:NO];
  
  [MyrssParser parse]; // memory leak here
  MyrssParser.delegate=nil;
  [MyrssParser release];
  if(!imagesArray)
  {
      imagesArray = [[NSMutableArray alloc] initWithCapacity:[self.results count]];
      for(int i=0;i&lt;[results count];i++)
      {
          UIImage *image = [UIImage imageNamed:@"nophoto.png"];
          [imagesArray addObject:image];
          bImgExist[i] = NO;
      }
  }
  
    }
  </code></pre>
  
  <p>Even After releasing my NSXMLParser object instrument still shows memory leak.
  What I am missing here..</p>