projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[LIBXML2] Update to version 2.9.13. CORE-17766
[reactos.git]
/
sdk
/
lib
/
3rdparty
/
libxml2
/
parserInternals.c
diff --git
a/sdk/lib/3rdparty/libxml2/parserInternals.c
b/sdk/lib/3rdparty/libxml2/parserInternals.c
index
cbcfde0
..
c5c0b16
100644
(file)
--- a/
sdk/lib/3rdparty/libxml2/parserInternals.c
+++ b/
sdk/lib/3rdparty/libxml2/parserInternals.c
@@
-1546,8
+1546,10
@@
xmlNewInputFromFile(xmlParserCtxtPtr ctxt, const char *filename) {
}
inputStream = xmlNewInputStream(ctxt);
- if (inputStream == NULL)
+ if (inputStream == NULL) {
+ xmlFreeParserInputBuffer(buf);
return(NULL);
+ }
inputStream->buf = buf;
inputStream = xmlCheckHTTPInput(ctxt, inputStream);