Instruments is telling me that this code leaks. Where? Do I have to release conn?
- (void)loadFeatureXML:(id<BPLFeatureLoaderDelegate>)delegate {
_delegate = delegate;
NSURLConnection *conn;
NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.myxmlfeed"]];
if ([NSURLConnection canHandleRequest:request]) {
conn = [NSURLConnection connectionWithRequest:request delegate:self];
if (conn) {
self.featureXMLData = [NSMutableData data];
}
}
}