> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> cottbus.de] On Behalf Of Richard Levitte - VMS Whacker via RT
> Sent: Wednesday, April 02, 2003 1:43 AM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: [openssl.org #561] bug report
> 
> 
> In message <[EMAIL PROTECTED]> on Wed,  2 Apr
2003
> 09:23:17 +0200 (METDST), "Matthew Fleming via RT" <[EMAIL PROTECTED]>
said:
> 
> rt> I am using openssl v. 0.9.7a. I have compiled static libraries and
am
> rt> trying to create an application that links to those libraries. I
am
> rt> developing with Visual Studio .NET on Windows 2000.
> rt>
> rt> I have found that just the single line
> rt>
> rt> SSL_library_init();
> rt>
> rt> produces a list of memory leaks from the compiler:
> 
> That's normal.  What happens is that a table of error information, an
> object database and a few other things are being built up.  Since
> you're not calling any cleanup stuff, you end up with a "leak".
> 
> This is not a bug, at least not in OpenSSL.
> 


Thank you very much for this information, and for your rapid response to
my inquiry.

>From what you've have said, my understanding is that there really is no
memory leak. However, I'm not sure what you mean by "cleanup stuff". Am
I supposed to call some openssl function to release resources claimed by
SSL_library_init()?  My understanding was that SSL_ctx_free() is
necessary after SSL_ctx_new(), but I was unaware of any cleanup routines
other than SSL_ctx_free(). If other cleanup routines are necessary, I'd
really appreciate if if you would give me their names, so I can look
them up on the openssl website.

Again, many thanks for your assistance.

Matthew Fleming
[EMAIL PROTECTED]


> --
> Richard Levitte   \ Spannv�gen 38, II \ [EMAIL PROTECTED]
> [EMAIL PROTECTED]  \ S-168 35  BROMMA  \ T: +46-8-26 52 47
>                     \      SWEDEN       \ or +46-708-26 53 44
> Procurator Odiosus Ex Infernis                -- [EMAIL PROTECTED]
> Member of the OpenSSL development team: http://www.openssl.org/
> 
> Unsolicited commercial email is subject to an archival fee of $400.
> See <http://www.stacken.kth.se/~levitte/mail/> for more info.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to