Petar,
Petar Popara wrote:
Each time I call PORT_Free() I got this run-time exception in my VC6
debugger:
HEAP[firefox.exe]: Invalid Address specified to RtlFreeHeap( 002C0000,
000AFF70 )
For example:
char * cn = CERT_GetCommonName(&(cert->subject));
...
if (cn)
PORT_Free(&cn);
What I am doing wrong?
Make sure your program is compiled with the same RTL as your NSS and
NSPR DLLs . If you are compiling with a debug RTL, then NSPR/NSS should
be too. You can do that by setting the environment variable
USE_DEBUG_RTL to 1 . This will generate OBJD binaries .
Or you could just change your program to link with the non-debug RTL .
_______________________________________________
mozilla-crypto mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-crypto