[xml] Small memory leak?
- From: Aleksander Øhrn <Aleksander Ohrn fast no>
- To: <xml gnome org>
- Subject: [xml] Small memory leak?
- Date: Wed, 15 Dec 2004 21:45:47 +0100
FYI,
Ran valgrind (http://valgrind.kde.org/) on a small test program of mine. It reported a small memory leak
inside libxml2, as shown below. The same thing gets reported if I use libxml2 2.6.11.
Aleksander
------------------
==29281== 4 bytes in 2 blocks are definitely lost in loss record 1 of 15
==29281== at 0x3C01E268: malloc (vg_replace_malloc.c:105)
==29281== by 0x3C13A088: xmlStrndup (in /usr/lib/libxml2.so.2.5.11)
==29281== by 0x3C1817E2: xmlXPathParseNCName (in
/usr/lib/libxml2.so.2.5.11)
==29281== by 0x3C184CFF: xmlXPathCompStep (in
/usr/lib/libxml2.so.2.5.11)
==29281== by 0x3C185018: xmlXPathCompRelativeLocationPath (in
/usr/lib/libxml2.so.2.5.11)
==29281== by 0x3C18539C: xmlXPathCompLocationPath (in
/usr/lib/libxml2.so.2.5.11)
==29281== by 0x3C1830E6: xmlXPathCompPathExpr (in
/usr/lib/libxml2.so.2.5.11)
==29281== by 0x3C1833E2: xmlXPathCompUnionExpr (in
/usr/lib/libxml2.so.2.5.11)
==29281== by 0x3C183603: xmlXPathCompUnaryExpr (in
/usr/lib/libxml2.so.2.5.11)
==29281== by 0x3C183752: xmlXPathCompMultiplicativeExpr (in
/usr/lib/libxml2.so.2.5.11)
==29281== by 0x3C183952: xmlXPathCompAdditiveExpr (in
/usr/lib/libxml2.so.2.5.11)
==29281== by 0x3C183B02: xmlXPathCompRelationalExpr (in
/usr/lib/libxml2.so.2.5.11)
==29281== by 0x3C183CE2: xmlXPathCompEqualityExpr (in
/usr/lib/libxml2.so.2.5.11)
==29281== by 0x3C183EB2: xmlXPathCompAndExpr (in
/usr/lib/libxml2.so.2.5.11)
==29281== by 0x3C184062: xmlXPathCompileExpr (in
/usr/lib/libxml2.so.2.5.11)
==29281== by 0x3C184302: xmlXPathCompPredicate (in
/usr/lib/libxml2.so.2.5.11)
==29281== by 0x3C184C56: xmlXPathCompStep (in
/usr/lib/libxml2.so.2.5.11)
==29281== by 0x3C185018: xmlXPathCompRelativeLocationPath (in
/usr/lib/libxml2.so.2.5.11)
==29281== by 0x3C1830E6: xmlXPathCompPathExpr (in
/usr/lib/libxml2.so.2.5.11)
==29281== by 0x3C1833E2: xmlXPathCompUnionExpr (in
/usr/lib/libxml2.so.2.5.11)
==29281== by 0x3C183603: xmlXPathCompUnaryExpr (in
/usr/lib/libxml2.so.2.5.11)
==29281== by 0x3C183752: xmlXPathCompMultiplicativeExpr (in
/usr/lib/libxml2.so.2.5.11)
==29281== by 0x3C183952: xmlXPathCompAdditiveExpr (in
/usr/lib/libxml2.so.2.5.11)
==29281== by 0x3C183B02: xmlXPathCompRelationalExpr (in
/usr/lib/libxml2.so.2.5.11)
==29281== by 0x3C183CE2: xmlXPathCompEqualityExpr (in
/usr/lib/libxml2.so.2.5.11)
==29281== by 0x3C183EB2: xmlXPathCompAndExpr (in
/usr/lib/libxml2.so.2.5.11)
==29281== by 0x3C184062: xmlXPathCompileExpr (in
/usr/lib/libxml2.so.2.5.11)
==29281== by 0x3C188703: xmlXPathEvalExpr (in
/usr/lib/libxml2.so.2.5.11)
==29281== by 0x3C188953: xmlXPathEvalExpression (in
/usr/lib/libxml2.so.2.5.11)
==29281== by 0x80A10E0:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]