No. If you assigned and initialized it, you must release it. Do it like this:
YourViewController *controller = [[YourViewController alloc] initWithNibName:@"YourView" bundle:nil];
[self presentModalViewController:controller animated:YES];
[controller release];
PresentModalViewController: animated: saveCount is automatically incremented. And as soon as the controller disappears in terms of, it will release the controller. And so the controller will be freed .; -)
source
share