I've tried to send this to email@example.com but my email bounced. So here it is:
I have recently spent several hours tracking down a memory leak in my emulator build. It turns out that if I just do:
rsa = RSA_new();
RSA_free( rsa );
then I get a memory leak in the emulator, but not on debug or release builds for the device. Is there some clean-up function to call in the emulator after using libcrypto or is this just a bug?
P.S. I am also using libc and the call to close the stdlib in my destructor - this doesn't cause any problems on its own.