mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-30 22:43:14 +03:00
avoid a leak with previous patch Daniel
* parserInternals.c: avoid a leak with previous patch Daniel
This commit is contained in:
@ -1,3 +1,7 @@
|
||||
Wed Sep 17 22:53:32 CEST 2003 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* parserInternals.c: avoid a leak with previous patch
|
||||
|
||||
Wed Sep 17 22:06:11 CEST 2003 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* python/libxml.c: use stderr and not stdout for default errors
|
||||
|
@ -2168,6 +2168,7 @@ xmlNewInputFromFile(xmlParserCtxtPtr ctxt, const char *filename) {
|
||||
}
|
||||
|
||||
inputStream->filename = (char *) xmlCanonicPath((const xmlChar *) URI);
|
||||
if (URI != NULL) xmlFree((char *) URI);
|
||||
inputStream->directory = directory;
|
||||
inputStream->buf = buf;
|
||||
|
||||
|
Reference in New Issue
Block a user