OK, I believe that the attached patch fixes the memory leak though I don't see it in Purify. Please, let me know if it works for you or not.
Thank you in advance! Aleksey
Index: src/mscrypto/x509.c =================================================================== RCS file: /cvs/gnome/xmlsec/src/mscrypto/x509.c,v retrieving revision 1.4 diff -u -w -r1.4 x509.c --- src/mscrypto/x509.c 1 Mar 2005 03:47:43 -0000 1.4 +++ src/mscrypto/x509.c 2 May 2006 04:13:13 -0000 @@ -367,6 +367,7 @@ XMLSEC_ERRORS_NO_MESSAGE); return(-1); } + CertFreeCertificateContext(cert); ctx->numCerts++; return(0);
_______________________________________________ xmlsec mailing list xmlsec@aleksey.com http://www.aleksey.com/mailman/listinfo/xmlsec