Re: [xml] dumping XML file question



On Thu, Mar 03, 2005 at 10:18:45AM +0100, Kenneth Østby wrote:
 xmlDocFormatDump(xml,doc,0);
 fflush(xml);
 fclose(xml);
 free(xml);

  Stop here, you already have a double free of a libc structure !

Daniel

-- 
Daniel Veillard      | Red Hat Desktop team 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]