Gary Coady pointed a memory leak in xmlTextReaderReadInnerXml() applied
* xmlreader.c: Gary Coady pointed a memory leak in
xmlTextReaderReadInnerXml() applied patch fixing #323864
Daniel
diff --git a/ChangeLog b/ChangeLog
index 0f62ef1..e417afc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon Dec 12 14:25:46 CET 2005 Daniel Veillard <daniel@veillard.com>
+
+ * xmlreader.c: Gary Coady pointed a memory leak in
+ xmlTextReaderReadInnerXml() applied patch fixing #323864
+
Sat Dec 10 12:08:28 CET 2005 Daniel Veillard <daniel@veillard.com>
* HTMLparser.c configure.in parserInternals.c runsuite.c runtest.c
diff --git a/xmlreader.c b/xmlreader.c
index 3fd44f3..d3e35d4 100644
--- a/xmlreader.c
+++ b/xmlreader.c
@@ -1664,6 +1664,9 @@
xmlBufferFree(buff2);
}
resbuf = buff->content;
+ buff->content = NULL;
+
+ xmlBufferFree(buff);
return resbuf;
}