title: UIPopoverController and release in delegate-method; "potential memory leak"
body: <p>I'm doing an alloc/init with my UIPopoverController, then release it in the delegate method. Whenever I perform a "build and analyze", I get memory warnings with "potential leaks" - am I doing something wrong or is there a way to get rid of those warnings?</p>
  
  <p>Thanks a lot!</p>
  
  <pre><code>- (void) somewhere {
      MyViewController *vc = [[MyViewController alloc] init];
      UIPopoverController *popover=[[UIPopoverController alloc] initWithContentViewController:vc];
      [vc release];
  
      // show the popover
      [popover presentPopoverFromRect:[cell frame] inView:self.tableView permittedArrowDirections:UIPopoverArrowDirectionAny animated:YES];
      popover.delegate = self;
  }
  
  - (void) popoverControllerDidDismissPopover:(UIPopoverController *)popoverController {
     [popoverController release];
     popoverController = nil;
  }
  </code></pre>
  
  <p><strong>EDIT:</strong> show complete somewhere-function</p>