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?
You are passing &cn to PORT_Free().
You should pass cn to PORT_Free().
Wan-Teh
_______________________________________________
mozilla-crypto mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-crypto