pokeb/asi-http-request — Issue #296: sslProperties leak #1207 of ASIHTTPRequest.m
Author: tecentmoon
Created: 2011-12-09 09:54:14+00:00
State: open

I add autorelease to it.

NSDictionary *sslProperties = [[[NSDictionary alloc] initWithObjectsAndKeys:
[NSNumber numberWithBool:YES], kCFStreamSSLAllowsExpiredCertificates,
[NSNumber numberWithBool:YES], kCFStreamSSLAllowsAnyRoot,
[NSNumber numberWithBool:NO], kCFStreamSSLValidatesCertificateChain,
kCFNull,kCFStreamSSLPeerName,
nil] autorelease];