Re: xsltParseStylesheetFile segmentation fault
Jason Viers <[email protected]> Thu, 08 Aug 2013 15:38:58 -0400
| Newsgroups | gmane.comp.gnome.lib.xslt |
|---|---|
| Message-ID | <[email protected]> |
On 8/5/2013 11:48, Mauricio Gonzalez wrote: > xmlFreeDoc(res); > xmlFreeDoc(doc); > xmlCleanupParser(); > xsltCleanupGlobals(); > xmlMemoryDump(); You shouldn't call xmlCleanupParser or xsltCleanupGlobals when you need to do further xml processing. They don't need to be called at all, unless you're troubled by the fixed amount of global information still allocated when the program exits. xmlMemoryDump is for dumping debug info, and you don't need to call it either. Jason