Re: AW: AW: memory leak in multithreaded c++ program

2004-05-04 Thread Igal Ore
Hawk wrote: Those are last two lines of my thread execution callback. If you call any openssl's free function after ERR_remove_state(0), you will have a memory leak, because it will create another thread context that will never be freed. So i can do SSL_free(clientssl); SSL

AW: AW: memory leak in multithreaded c++ program

2004-05-04 Thread Hawk
> Those are last two lines of my thread execution callback. > > If you call any openssl's free function after ERR_remove_state(0), you > will have a memory leak, because it will create another thread context > that will never be freed. So i can do SSL_free(clientssl); SSL_CTX_free(clientsslctx);

Re: memory leak in multithreaded c++ program

2004-05-03 Thread Igal Ore
Hawk wrote: Hi I wrote a multithreaded program using openssl But with every connection it grows up about 8kb I think I freed all SSL* and SSL_CTX* I used I used this functions to make my program threadsafe: Perhaps anyone can give me a hint if there is an error? With best regards Stephan void CRYPT

memory leak in multithreaded c++ program

2004-05-02 Thread Hawk
Hi I wrote a multithreaded program using openssl But with every connection it grows up about 8kb I think I freed all SSL* and SSL_CTX* I used I used this functions to make my program threadsafe: Perhaps anyone can give me a hint if there is an error? With best regards Stephan void CRYPTO_thread_s