[xmlsec] Re: Memory leaks
Aleksey Sanin
aleksey@aleksey.com
Tue, 26 Nov 2002 09:54:50 -0800
Do you have any print outs that show where the memory leak happens?
Also use xmlsec mailing list, please.
Aleksey.
kathy.nguyen@sspsolutions.com 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
>