Hi, The doc [*] says:
"If the BIO_CLOSE flag is set when a memory BIO is freed then the underlying BUF_MEM structure is also freed." The only place to set such a BIO_CLOSE flag is in the c argument in function: BIO_set_mem_buf(BIO *b,BUF_MEM *bm,int c) So, must I understand that, in case I don't set a custom buffer (this is, I do not call to BIO_set_mem_buf(), then the internal buffer of my BIO will be freed when I call free(my_bio)? Thanks a lot. [*] http://linux.die.net/man/3/bio_s_mem -- Iñaki Baz Castillo <i...@aliax.net> ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org