tls_wrap: fix BIO leak on SSL error
authorFedor Indutny <fedor@indutny.com>
Tue, 24 Mar 2015 03:07:03 +0000 (20:07 -0700)
committerFedor Indutny <fedor@indutny.com>
Wed, 25 Mar 2015 22:50:50 +0000 (17:50 -0500)
commite74b5d278ca94bf27d16b3fb94cedf4c6fcac3ac
treeb2ee58baa46f9f29810195e6a5123326727ffd3b
parent2db758c562b4e480acc2d1a654e2c471a653a039
tls_wrap: fix BIO leak on SSL error

Fix: https://github.com/iojs/io.js/issues/1075
PR-URL: https://github.com/iojs/io.js/pull/1244
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
src/tls_wrap.cc