Browse files

Merge pull request #282 from gradha/fixes_dictionary_memory_leak

Fixes dictionary memory leak when certificate checking is disabled. Refs #263.

Problem was introduced in commit:6600374880762608baed7e632bce73d45666768b.
  • Loading branch information...
2 parents 4282568 + 98920f0 commit 4afac5d8bb2cf86ecd15786dc97ca75093b71607 @jogu jogu committed Jan 13, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 Classes/ASIHTTPRequest.m
View
1 Classes/ASIHTTPRequest.m
@@ -1214,6 +1214,7 @@ - (void)startRequest
CFReadStreamSetProperty((CFReadStreamRef)[self readStream],
kCFStreamPropertySSLSettings,
(CFTypeRef)sslProperties);
+ [sslProperties release];
}
// Tell CFNetwork to use a client certificate

0 comments on commit 4afac5d

Please sign in to comment.