[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [xml] Crash in xmlFreeParserInputBuffer
- From: Daniel Veillard <veillard redhat com>
- To: Kail <kaildio gmail com>
- Cc: xml gnome org
- Subject: Re: [xml] Crash in xmlFreeParserInputBuffer
- Date: Wed, 12 Jul 2006 17:29:30 -0400
On Wed, Jul 12, 2006 at 08:54:51PM +0200, Kail wrote:
> I've a crash during the free of a InputBuffer. I want to know if i've
> done a mistake with the API or if there is a bug in the library. A
> simplified esample code is this:
[...]
> dtd = xmlIOParseDTD (NULL, buf, XML_CHAR_ENCODING_ASCII);
> //xmlFreeParserInputBuffer(buf); <--- HERE
[...]
> But maybe could be a problem for other or maybe the mistake is mine
> (in the use of the API).
I believe xmlIOParseDTD consumes the xmlParserInputBufferPtr so it
should not be freed after the call.
Daniel
--
Daniel Veillard | Red Hat http://redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]