Skip to content

Commit

Permalink
Suppress warning from llvm static analyzer about retain count on dyna…
Browse files Browse the repository at this point in the history
…mically initialized object
  • Loading branch information
Marc-Etienne M.Léveillé authored and Ortwin Gentz committed Nov 4, 2010
1 parent d38cc1e commit efd49f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions InAppSettingsKit/Controllers/IASKAppSettingsViewController.m
Expand Up @@ -535,8 +535,8 @@ - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath
if (!initSelector) {
initSelector = @selector(init);
}
UIViewController * vc = [[vcClass alloc] performSelector:initSelector];
assert(vc != nil);
UIViewController * vc = [vcClass alloc];
[vc performSelector:initSelector];
self.navigationController.delegate = nil;
[self.navigationController pushViewController:vc animated:YES];
[vc release];
Expand Down

0 comments on commit efd49f7

Please sign in to comment.