NZzi,
NZzi wrote:
Nelson B Bolyard wrote:
DanKegel wrote, On 2009-03-15 11:50:
I'm looking at memory leaks, starting with the simple test program
#include <ssl.h>
#include <stdio.h>
int main()
{
NSS_NoDB_Init();
NSS_Shutdown();
For leak testing, there's one more important call to be placed here.
PR_Cleanup();
i call this function after NSS_Shutdown(), then whole program
hang at the call, and not quit for a long time, finally, i ctrl-c
Are you talking about adding PR_Cleanup to this simple 2 line program,
or to another program ? PR_Cleanup has some issues, but it should work
for this case.
What platform are you using and what versions of NSS/NSPR ?
--
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto