diff options
author | Jose <jose@zeroc.com> | 2017-01-02 18:06:44 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2017-01-02 18:06:44 +0100 |
commit | 2df05d130ae51a65f51c593800ad722d533f5df3 (patch) | |
tree | 1c4c0c03245a69cdefb949a0060e5642e00aaeed /cpp/src/IceSSL/Util.cpp | |
parent | Update VisualStdio Ice project filters (diff) | |
download | ice-2df05d130ae51a65f51c593800ad722d533f5df3.tar.bz2 ice-2df05d130ae51a65f51c593800ad722d533f5df3.tar.xz ice-2df05d130ae51a65f51c593800ad722d533f5df3.zip |
Fixed (ICE-7477) - Use native Base64 encode/decode
Diffstat (limited to 'cpp/src/IceSSL/Util.cpp')
-rwxr-xr-x | cpp/src/IceSSL/Util.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/IceSSL/Util.cpp b/cpp/src/IceSSL/Util.cpp index f262d09979f..af02062389b 100755 --- a/cpp/src/IceSSL/Util.cpp +++ b/cpp/src/IceSSL/Util.cpp @@ -14,6 +14,7 @@ #include <IceSSL/Util.h> #include <IceUtil/FileUtil.h> +#include <IceUtil/UniqueRef.h> #include <IceUtil/StringUtil.h> #include <Ice/Base64.h> @@ -634,6 +635,7 @@ IceSSL::getCertificateProperty(SecCertificateRef cert, CFTypeRef key) { ostringstream os; os << "IceSSL: error getting property for certificate:\n" << errorToString(err); + CFRelease(err); throw CertificateReadException(__FILE__, __LINE__, os.str()); } |