UIImage & UIImageView memory leak
<p>i'm testing my app on Instruments,
and I see that my UIImage and UIImageView are memory-leaking like crazy...</p>

<p>I'm basically using recursion, so same variables get to load different images on each call.</p>

<pre><code>    nextImageName = [[NSString alloc] init];
    nextImageName2 = [[NSString alloc] init];
    nextImageName = [[currentPlayers objectAtIndex:playerIndex] retain];
    nextImageName2 = [[currentPlayers objectAtIndex:(playerIndex+1)] retain];
    nextImage = [[UIImage alloc] init];
    nextImage2 = [[UIImage alloc] init];
    nextImage = [UIImage imageNamed:nextImageName];
    nextImage2 = [UIImage imageNamed:nextImageName2];
    nextImageView = [[UIImageView alloc] init];
    nextImageView2 = [[UIImageView alloc] init];
    nextImageView = [[UIImageView alloc] initWithImage:nextImage];
    nextImageView2 = [[UIImageView alloc] initWithImage:nextImage2];
    NSLog(@"r:%d",currentRound);
    NSLog(@"%d vs. %d", playerIndex, playerIndex+1);

    buttonOne = [[UIButton alloc] init];
    buttonTwo = [[UIButton alloc] init];

    playerOne = nextImageView;
    playerTwo = nextImageView2;
    playerOne.frame = CGRectMake(180.0, 200.0, 275.0, 275.0);
    playerTwo.frame = CGRectMake(550.0, 200, 275.0, 275.0);
    buttonOne.frame = CGRectMake(180.0, 200.0, 275.0, 275.0);
    buttonTwo.frame = CGRectMake(550.0, 200.0, 275.0, 275.0);
    [buttonOne addTarget:self action:@selector(announceWinner:)
        forControlEvents:UIControlEventTouchUpInside];
    [buttonTwo addTarget:self action:@selector(announceWinner2:)
        forControlEvents:UIControlEventTouchUpInside];
</code></pre>

<p>Could anyone please help me? This is driving me nuts..</p>

<p>I originally had release for all the variables at dealloc, but it seemed it didn't go into dealloc, so I also put it in viewDidUnload and didReceiveMemoryWarning.</p>
