Memory Management On Navigation Controller
<p>I am new to the iPhone SDK and I got a leak on a navigation controller.
Here is my code : </p>

<p>-(void)SignupClicked:(id)sender
{</p>

<pre><code>if(appdelegate.isiPad){
    SignUpViewController *obj_SignUpViewController =[[SignUpViewController alloc] initWithNibName:@"SignUpViewControllerIpad" bundle:nil];
    [self.navigationController pushViewController:obj_SignUpViewController animated:YES];
    [obj_SignUpViewController release];
}
else {
    SignUpViewController *obj_SignUpViewController =[[SignUpViewController alloc] initWithNibName:@"SignUpViewController" bundle:nil];
    [self.navigationController pushViewController:obj_SignUpViewController animated:YES];
    [obj_SignUpViewController release];
}
</code></pre>

<p>}</p>

<p>I am getting leaks on these lines:</p>

<pre><code>[self.navigationController pushViewController:obj_SignUpViewController animated:YES];
[self.navigationController pushViewController:obj_SignUpViewController animated:YES];
</code></pre>

<p>Please help me...
Thank you...</p>
