projects
/
project
/
ustream-ssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ustream-ssl: openssl: fix bio memory leak
[project/ustream-ssl.git]
/
ustream-io-openssl.c
diff --git
a/ustream-io-openssl.c
b/ustream-io-openssl.c
index 606ed4a36f4050cd63b98b4d56bbcaa1f68f8984..c9d7fae1efa04d6b0c1b41b63bb58a5fc9305dd2 100644
(file)
--- 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;
}