title: How to properly release UIPopoverController?
body: <p>In the following code I alloc a UIPopoverController. Obviously I am not releasing it here because I am not sure where I should properly release it without a crash.</p>
  
  <p>Where should I release it?</p>
  
  <pre><code>- (IBAction)photoLibraryiPad {
      if ([UIImagePickerController isSourceTypeAvailable:
           UIImagePickerControllerSourceTypeSavedPhotosAlbum])
      {
          UIImagePickerController *imagePicker =
          [[UIImagePickerController alloc] init];
          imagePicker.delegate = self;
          imagePicker.sourceType =
          UIImagePickerControllerSourceTypePhotoLibrary;
  
          self.popoverController = [[UIPopoverController alloc]
                                    initWithContentViewController:imagePicker];
          popoverController.delegate = self;
          [self.popoverController presentPopoverFromRect:myButton.frame inView:self.view
                                permittedArrowDirections:UIPopoverArrowDirectionAny animated:YES];
          [imagePicker release];
      }
  }
  </code></pre>
  
  <p>Thanks!</p>