Reported by static analyzer. Shouldn't break things as much as I've tried.
Memory leak (as reported by clang)
I would like to second this fix; the sslProperties object created if a clientCertificateIdentity is present in the startRequest method creates an autoreleased NSDictionary object, whereas the one created if no valid SSL Certificate is present is not autoreleased.
I tested this exact same change here on my side and it worked flawlessly.
Thanks for suggesting this fix - several different fixes for this had built up in the pull queue, so I've applied one and am closing the rest.