commit | 3ca00f6c654aa2d4dd4c041dd8bf8ba1002a324d | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed Oct 07 15:04:52 2009 -0700 |
committer | Elliott Hughes <enh@google.com> | Wed Oct 07 15:04:52 2009 -0700 |
tree | cc9614419cfea13b8f58dd446072d270785abc9a | |
parent | 0af7739a0d2cea54e6299622dca7fe6be4d61699 [diff] |
Fix several leaks in OpenSSL JNI cipher suites code. I first spotted the missing ReleaseStringUTFChars, but then noticed all the duplication in the cipher suites functions, and noticed that no copy appeared to be completely correct. The factored-out replacements shouldn't leak, and should check all error conditions.