mirror of
https://github.com/darlinghq/darling-libxml2.git
synced 2024-12-11 14:14:38 +00:00
avoid a leak with previous patch Daniel
* parserInternals.c: avoid a leak with previous patch Daniel
This commit is contained in:
parent
007d51eb73
commit
a66b1d1a7d
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user