RE: Memory leak while using OpenSSL library

2009-04-14 Thread shehzad p
Hi, Thanks David for correcting me and also solving my doubt related to -DPURIFY option. David Schwartz wrote: Now at last, there is only 48 bytes leak of (in 0.9.8k and 1.0.0 beta1 its 36 bytes) of SSL_library_init(), is of not a big issue but I will have look into openssl to just as

Re: Memory leak while using OpenSSL library

2009-04-10 Thread shehzad p
Hi Brad, Your suggestions is worked very well. Particularly I got very decreased memory leaks when I called global clean up functions at last. I also solved 66000byte memory leak as it was happening only because some silly bad programming in my modified libcsoap's hssl_client_ssl function.

RE: Memory leak while using OpenSSL library

2009-04-10 Thread David Schwartz
Now at last, there is only 48 bytes leak of (in 0.9.8k and 1.0.0 beta1 its 36 bytes) of SSL_library_init(), is of not a big issue but I will have look into openssl to just as minimize as I can. (Because restarting the application many times will slowly eat up the memory.. and will require to

Re: Memory leak while using OpenSSL library

2009-04-09 Thread Brad House
Commenting below. For better clarification, I have attached the trace of Valgrind on the Pastebin: http://pastebin.com/f1e222abd Here is the last lines 1. ==3290== LEAK SUMMARY: 2. ==3290==definitely lost: 268 bytes in 1 blocks. 3. ==3290==indirectly lost: 66,807