aboutsummaryrefslogtreecommitdiffstats
path: root/SAX2.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@redhat.com>2009-07-29 11:34:50 +0200
committerDaniel Veillard <veillard@redhat.com>2009-07-29 11:34:50 +0200
commit023d0babc41da367f9272d4acc825bdd862f7a9c (patch)
tree02902296bc9df785911b3172dace34076574011c /SAX2.c
parent669e88c0650646a6d4eae978296ad753a2a47b7f (diff)
downloadandroid_external_libxml2-023d0babc41da367f9272d4acc825bdd862f7a9c.tar.gz
android_external_libxml2-023d0babc41da367f9272d4acc825bdd862f7a9c.tar.bz2
android_external_libxml2-023d0babc41da367f9272d4acc825bdd862f7a9c.zip
Fix leak on SAX1, xmllint --sax1 option and debug
* SAX2.c: don't leak in xmlCheckDefaultedAttributes for standalone checking * xmllint.c: fix xmllint --sax1 to actually use XML_PARSE_SAX1 * debugXML.c: don't raise an error if markup wasn't allocated from dictionary if document was parsed with option disabling it
Diffstat (limited to 'SAX2.c')
-rw-r--r--SAX2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/SAX2.c b/SAX2.c
index 8dc1d582..e5d6eb50 100644
--- a/SAX2.c
+++ b/SAX2.c
@@ -1446,6 +1446,7 @@ process_external_subset:
(const char *)fulln,
(const char *)attr->elem);
}
+ xmlFree(fulln);
}
attr = attr->nexth;
}