[xmlsec] Re: Memory leaks

Aleksey Sanin aleksey at aleksey.com
Tue Nov 26 09:54:50 PST 2002


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

Aleksey.

kathy.nguyen at 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
>





More information about the xmlsec mailing list