Potential leak in Xcode
I am working on an app in Xcode and I need some help.
(IBAction)test:(id)sender { game *test = [[game alloc] initWithNibName:
nil bundle: nil];
[self presentViewController:test animated:YES completion:nil]; }
//Potential leak of an object stored into "test"
I am getting this error and I don't know how to fix it.
No comments:
Post a Comment