how to release presentModalViewController from stack Memory in iphone?
<p>hi 
 I am currently working on  a project in which I  am calling other view through below way through out the project  :---</p>

<pre><code>frmImage *frmImageOne = [[frmImage alloc]initWithNibName:@"frmImage" bundle:nil]; 
[self presentModalViewController:frmImageOne animated:YES];
[frmImageOne release];
</code></pre>

<p>Exactly  what I want is that when I load my application in IPhone device it gets terminated due to StackOverflow by presentModalViewController.that is nothing but memory leakage .</p>

<p>So please can any body tel me how to release presentModelViewcontroller from stack memory through codes.</p>

<p>Thanks in Advance</p>
