mirror of
https://gitlab.gnome.org/GNOME/libxml2
synced 2025-03-28 21:33:13 +00:00
fix small leak
This commit is contained in:
parent
6218b31b7f
commit
181a1ca018
@ -1225,6 +1225,7 @@ xmlParseXMLCatalogNode(xmlNodePtr cur, xmlCatalogPrefer prefer,
|
||||
prop = xmlGetProp(cur, BAD_CAST "id");
|
||||
base = xmlGetNsProp(cur, BAD_CAST "base", XML_XML_NAMESPACE);
|
||||
entry = xmlNewCatalogEntry(XML_CATA_GROUP, prop, base, NULL, pref, cgroup);
|
||||
xmlFree(prop);
|
||||
} else if (xmlStrEqual(cur->name, BAD_CAST "public")) {
|
||||
entry = xmlParseXMLCatalogOneNode(cur, XML_CATA_PUBLIC,
|
||||
BAD_CAST "public", BAD_CAST "publicId", BAD_CAST "uri", prefer, cgroup);
|
||||
|
Loading…
x
Reference in New Issue
Block a user