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);