Regarding a memory leak issue
<p>I am new to iPhone development. I have a memory leak issue in the following code. If anyone knows why it's happening please help me.</p>

<pre><code>for(int i=0;i&lt;size;i++)
{
    NSString *CellIdentifier1;
    if(universalApp==2)
    {
    CellIdentifier1 = @"CustomThumbImageTableCell_iphone";
    cell = [[[CustomThumbImageTableCell alloc] initWithFrame:CGRectZero reuseIdentifier:CellIdentifier1] autorelease];

        //NSLog(@"&gt;&gt;&gt;&gt;&gt; Creating image &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;");
    cell.thumbImageView = [[CustomImageView alloc] initWithFrame:CGRectMake(4, 4, 83, 101)];


    [imgViewArray addObject:cell.thumbImageView];
    [cell.thumbImageView release];  

}
</code></pre>
