diff options
author | doug <> | 2015-10-03 06:47:32 +0000 |
---|---|---|
committer | doug <> | 2015-10-03 06:47:32 +0000 |
commit | 5bc4f293cb4cd351001b1827dde5e8342d284fbe (patch) | |
tree | c039396f84e51026b4344d9769fbe62c562887f9 /src/lib/libcrypto/cryptlib.c | |
parent | e3d441d0a325470f801330d11a89c967c185609d (diff) | |
download | openbsd-5bc4f293cb4cd351001b1827dde5e8342d284fbe.tar.gz openbsd-5bc4f293cb4cd351001b1827dde5e8342d284fbe.tar.bz2 openbsd-5bc4f293cb4cd351001b1827dde5e8342d284fbe.zip |
SSL_new(): fix ref counting and memory leak in error path.
Rather than a half-hearted attempt to free up resources and fix
ref counting at the SSL_CTX level, let SSL_free() do its job.
This diff got lost in the shuffle somewhere. It's from last year.
Ref counting error reported by Parakleta in github ticket #51. Thanks!
ok jsing@, beck@
Diffstat (limited to 'src/lib/libcrypto/cryptlib.c')
0 files changed, 0 insertions, 0 deletions