The default iPhone view template has code as follows
{ // Override point for customization after app launch
[window addSubview:viewController.view];
[window makeKeyAndVisible];
return YES;
}
isnt there a memory leak here? shouldnt it be
{
// Override point for customization after app launch
[window addSubview:viewController.view];
[viewController.view release];
[window makeKeyAndVisible];
return YES;
}