Hello! I've got a question about buf_mem.... The BIO_get_mem_ptr, Does it make a copy of the bytes in the byte array where is used? That is, Is there any function to free a BUF_MEM ? This is my source code.... BIO *bio=BIO_new(BIO_s_mem()); BUF_MEM *buf_mem=NULL; BIO_get_mem_ptr(bio,&buf_mem); unsigned char *bytes=buf_mem->data; int length=buf_mem->length Must I to free the BUF_MEM or only the BIO? Thanks in advance for your answer, Regards, Antonio. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]