openssl.libcrypto.tests: should not forget to free the BIO

factor-shell
Björn Lindqvist 2018-01-24 20:20:38 +01:00
parent cd5a0c420d
commit 71d2a373fe
1 changed files with 5 additions and 1 deletions

View File

@ -8,7 +8,11 @@ USING:
tools.test ; tools.test ;
IN: openssl.libcrypto.tests IN: openssl.libcrypto.tests
{ t } [ "factorcode.org:80" BIO_new_connect bio_st? ] unit-test { t 1 } [
"factorcode.org:80" BIO_new_connect [
bio_st?
] keep BIO_free
] unit-test
{ 1 1 } [ { 1 1 } [
"factorcode.org:80" BIO_new_connect [ "factorcode.org:80" BIO_new_connect [