[openssl.org #4704] Memory leak in rsa_new/rsa_free
I'm writing a c++ server application that calls thounsands of times per
hour the rsa_new()
and rsa_free() openssl functions.
After debugging a lot I discovered that "sometimes" (I'm not able to
tell a precise number) the rsa_free
does not release properly the memory allocated by the rsa_new.
In order to prove this I created the simple program below. If i run it,
i see the related working set
going bigger and bigger, 4KB per second.
I'm using the 18.104.22.168 version of libeay32.dll and ssleay32.ddl under
windows 7 64 bit.