Do you call OPENSSL_free() to release the returned data?

On Fri, Mar 20, 2009 at 3:22 AM, Macapuna Carlos
<carlosmacap...@gmail.com> wrote:
> Hello, Good Night.
> I am a student of Masters in Unicamp - Brazil.
> I am using the class of BN openssl. My program is consuming all the memory
> (3 GB), up to failure of segmentation, after much debugging, discovering
> that when you use the BN_bn2dec (char * BN_bn2dec (const BIGNUM * a)) is the
> memory of the computer used for this operation but is not released. That is,
> this operation is memory consuming, but is not releasing. Use other
> functions (BN_nnmod, BN_hex2bn, BN_CTX_init), but these showed no problem. I
> am working with hash functions, and only noticed the problem when I went
> from 1 million to 8 million entries, it was when it started to failure of
> segmentation, then moved to analyze the memory.
>
>
> Carlos Macapuna
>
> --
> Carlos Macapuna
> www.macapuna.com.br
> macap...@{macapuna.com.br, dca.fee.unicamp.br}
> Linux for human beings
>



-- 
Met vriendelijke groeten / Best regards,

Ger Hobbelt

--------------------------------------------------
web:    http://www.hobbelt.com/
        http://www.hebbut.net/
mail:   g...@hobbelt.com
mobile: +31-6-11 120 978
--------------------------------------------------
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to