is this lead to memory leak for iphone
<p>Let me explain in detais</p>

<pre><code>In appDidfinish()
{
preLoginNavController  = [[PreLoginNavController alloc] initPreLoginNavController];
[window addSubview:[preLoginNavController  view]];
}
</code></pre>

<p>then in <strong>preLoginViewController when user press a button</strong></p>

<p>then i am doing this to go to view2</p>

<pre><code>RootViewController *arootController= [[RootViewController alloc] initWithNibName:@"RootViewController" bundle:[NSBundle mainBundle]];
  [self.navigationController pushViewController:arootController animated:YES];
</code></pre>

<p>if i do this <strong>[arootController release];</strong> then i cant come form view 2</p>

<p><strong>now in view 2 when back button is pressed</strong>
then i am doing this</p>

<pre><code>[self.navigationController popToRootViewControllerAnimated:YES];
</code></pre>

<p>so i cannot release <strong>[arootController release]</strong> else when i go to back view app quits with no error</p>

<p>and i need a prelogin view before Rootview thats why i did like that now what should i do .. my app is working fine but i want to fix that leak :(</p>

<p>HEY
i am getting this message when i click back button in view 2 after push and <strong>release</strong> in preLogin(1st view)
<strong>objc[408]: FREED(id): message release sent to freed object=0x466a340</strong></p>
