I have been following the documentation for using NSURLConnection and am using delegates for managing the connection (overriding among other methods connection:didFailWithError: and connectionDidFinishLoading:). The memory allocated for the NSURLConnection object is released in those delegate methods.
My problem is that running "Build/Build and Analyze" from the XCode menu triggers an annoying "Potential leak of an object (...)" warning in the method calling alloc on the NSURLConnection class (logically enough as I do not release it in the same block).
Is there a way to silence this warning?