summaryrefslogtreecommitdiff
path: root/ustream-io-openssl.c
diff options
context:
space:
mode:
Diffstat (limited to 'ustream-io-openssl.c')
-rw-r--r--ustream-io-openssl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ustream-io-openssl.c b/ustream-io-openssl.c
index 606ed4a..c9d7fae 100644
--- a/ustream-io-openssl.c
+++ b/ustream-io-openssl.c
@@ -42,6 +42,7 @@ s_ustream_free(BIO *b)
BIO_set_data(b, NULL);
BIO_set_init(b, 0);
BIO_clear_flags(b, ~0);
+ BIO_meth_free(b->method);
return 1;
}