Re: [xml] [htmlParser] The right way to free a htmlParserCtxtPtr
- From: Emmanuel Saracco <esaracco users labs libre-entreprise org>
- To: xml gnome org
- Subject: Re: [xml] [htmlParser] The right way to free a htmlParserCtxtPtr
- Date: Tue, 02 Nov 2004 06:52:53 +0100
Le mardi 02 novembre 2004 à 06:46 +0100, Emmanuel Saracco a écrit :
[...]
But browing the libxml2 source code I saw that there is a "htmlCtxtReset
()" that seems to really freeing all stuff (including "ctxt->myDoc").
Should I call this function just before calling "htmlFreeParserCtxt ()"?
Or at least "xmlFreeDoc ()" on ctxt->myDoc (because calling
"htmlCtxtReset ()" generate a segfault)?
Thanks,
Bye
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]