After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 323864 - Memory leak in xmlTextReaderReadInnerXml
Memory leak in xmlTextReaderReadInnerXml
Status: RESOLVED FIXED
Product: libxml2
Classification: Platform
Component: general
git master
Other All
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2005-12-12 11:22 UTC by Gary Coady
Modified: 2005-12-12 13:27 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12


Attachments
Proposed patch (318 bytes, patch)
2005-12-12 11:23 UTC, Gary Coady
none Details | Review

Description Gary Coady 2005-12-12 11:22:18 UTC
Please describe the problem:
An xmlBuffer memory reference is leaked every time xmlTextReaderReadInnerXml is
used. The buffer's content is returned, but the buffer reference itself is lost.

Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Gary Coady 2005-12-12 11:23:32 UTC
Created attachment 55888 [details] [review]
Proposed patch
Comment 2 Daniel Veillard 2005-12-12 13:27:00 UTC
Whoops, I didn't catch that ! Right, patch applied, will commit ASAP,

  thanks a lot !

Daniel