2014-07-19 17:53 GMT+02:00 Matt Caswell <m...@openssl.org>: >> 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)? >> > > You should not call free directly. Instead you should use BIO_free.
Yes sorry, it was a typo in my text. > As > long as you do that and as long as you haven't called BIO_set_close with > BIO_NOCLOSE (or BIO_set_mem_buf as above), then the internal buffer will > be freed. Thanks to both. It is clear now. Thanks! -- 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