+1  A: 

Are you profiling on the phone or on the simulator?

I've heard there are memory leaks in the NSURLConnection class when on the simulator.

from http://www.iphonedevforums.com/forum/general-development-questions-advice/1086-memory-leaks.html

The NSURLConnection class itself has a leak in the sendSynchronousRequest method in OS 2.x. It's an issue that Apple is fully aware of.

Ben Scheirman
There are still leaks on OS 3.1.2. I have been going insane trying to understand what was going on. There are also random crashes within CFNetwork. I wrote a small sample program that demonstrates the issue so hopefully Apple will fix it. In the mean time, ASIHTTPRequest is an amazing replacement for NSURLConnection. Zero leaks, zero crashes so far.
James Wald
+2  A: 

Implement following code in your appDidFinishL. function

there will no leak

- (void)applicationDidFinishLaunching:(UIApplication *)application {    

// Override point for customization after app launch    
NSURLCache *sharedCache = [[NSURLCache alloc] initWithMemoryCapacity:0 diskCapacity:0 diskPath:nil];
[NSURLCache setSharedURLCache:sharedCache];
[sharedCache release];

[window addSubview:[navigationController view]];
[window makeKeyAndVisible];

}

sugar