Do you have any print outs that show where the memory leak happens? Also use xmlsec mailing list, please.

Aleksey.

[EMAIL PROTECTED] wrote:

Hi Aleksey,

I got the memory leaks when I called xmlSecSimpleKeysMngrCreate(), and followed by xmlSecSimpleKeysMngrDestroy(). I commented out the code between them just for figuring out what caused the memory leaks. Thank you in advance for answering my question.


while (RAND_status() != 1)
RAND_seed(&rnd_seed, sizeof(rnd_seed));
xmlInitParser();
LIBXML_TEST_VERSION xmlSecInit();
keysMngr = xmlSecSimpleKeysMngrCreate();
xmlSecSimpleKeysMngrDestroy(keysMngr); xmlSecShutdown();
xmlCleanupParser();
RAND_cleanup();
ERR_clear_error();

Regards,
Kathy Nguyen


_______________________________________________
xmlsec mailing list
[EMAIL PROTECTED]
http://www.aleksey.com/mailman/listinfo/xmlsec


Reply via email to