Issue with Memory Deallocation in xsltFreeStylesheet Function
Dear All,
I hope this message finds you well. I am currently encountering an issue related to memory deallocation while using the xsltFreeStylesheet function in my code. The memory does not seem to be freed as expected.
To provide more context, I have a simple code snippet where I parse an XSLT stylesheet from a file using the xsltParseStylesheetFile function and then attempt to free the associated memory using xsltFreeStylesheet. Here's a simplified version of the code:
xsltStylesheetPtr xslStyleSheet = xsltParseStylesheetFile((const xmlChar *)webService_XSL_URL); xsltFreeStylesheet(xslStyleSheet);
I have observed that the memory allocated for the stylesheet is not being released, leading to potential memory-related issues.
The version of LibXslt I am using is 1.1.32. and xml 2.9.7
If anyone has encountered a similar issue or has insights into how I can address this, your assistance would be greatly appreciated.
Thank you,