I noticed that in CONSOLE MT I have no memory leaks with Web/SSL at all. There are memory leaks with GUI MT.
hmmm =)
Hello Sc0rch
I dissent from your statement .
This program gets memory leaks...
#include <Core/Core.h>
using namespace Upp;
CONSOLE_APP_MAIN
{
}
The only packages it has are Core and Web/SSL.
This OpenSSL memory leak has been reported in forums for years (at least from 2003) and nobody seems to give an answer. There are only a few bytes lost and it is reported this leak does not increase with different calls to init and free functions.
The only fix for now is to comment SSL_library_init() line if it is not really required.