Steve Mounir,
Thanks a lot for answering my questions.
Stuart
- Original Message
From: Dr. Stephen Henson st...@openssl.org
To: openssl-users@openssl.org
Sent: Mon, April 19, 2010 4:38:14 PM
Subject: Re: possible user error / memory leak using RSA_new() and RSA_free();
On Mon
Hi List,
I am trying to figure out why there is a memory leak using RSA_new RSA_free:
Below is a code sample (which will produce a memory leak) and the relevent
valgrind output. I have checked the documentation but I still fail to see my
error.
As I understand the docuumentation, RSA_free()
On Mon, Apr 19, 2010, Stuart Weatherby wrote:
Hi List,
I am trying to figure out why there is a memory leak using RSA_new RSA_free:
Below is a code sample (which will produce a memory leak) and the relevent
valgrind output. I have checked the documentation but I still fail to see my
Hi,
Remove the unecessary call to RSA_new and the memory leak will
disappear!! (The variable p est allocated by PEM_read_RSA_PUBKEY)
Cheers,
--
Mounir IDRASSI
IDRIX
http://www.idrix.fr
On 4/19/2010 11:07 PM, Stuart Weatherby wrote:
Hi List,
I am trying to figure out why there is a memory
-users@openssl.org
Sent: Mon, April 19, 2010 3:12:53 PM
Subject: Re: possible user error / memory leak using RSA_new() and RSA_free();
On Mon, Apr 19, 2010, Stuart Weatherby wrote:
Hi List,
I am trying to figure out why there is a memory leak using RSA_new RSA_free:
Below is a code sample (which
On Mon, Apr 19, 2010, Stuart Weatherby wrote:
Thanks Steve,
After commenting out lines 24 25 there is still unfree'd memory:
http://www.openssl.org/support/faq.html#PROG13
Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: