I have a flipView class that I allocate and initiate. But, when I release it the app crashes. If I don't release it, the app works fine, so it seems. The error message I receive when I release it is:
Malloc - error for object: object pointer being freed was not allocated.
If you could please assist me, I would be grateful.
- (IBAction)showInfo {
FlippedProduceView *flippedView = [[FlippedProduceView alloc]initWithIndexPath:index];
flippedView.flipDelegate = self;
flippedView.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
[self presentModalViewController:flippedView animated:YES];
//[flippedView release]; //******** Maybe A Memory Leak *********\\
}