Upgrade libxml2 to c41bc10da31a4a4e5416270110b6d1b79606cad1
Test: make
Change-Id: Ic025f2f5cd8dbadc8bf3a446b941c403931de3f1
diff --git a/xmlIO.c b/xmlIO.c
index f20c0fa..c510a7e 100644
--- a/xmlIO.c
+++ b/xmlIO.c
@@ -2735,6 +2735,8 @@
ret->writecallback = xmlGzfileWrite;
ret->closecallback = xmlGzfileClose;
}
+ else
+ xmlGzfileClose(context);
return(ret);
}
}
@@ -3819,6 +3821,9 @@
*/
xmlParserInputPtr
xmlCheckHTTPInput(xmlParserCtxtPtr ctxt, xmlParserInputPtr ret) {
+ /* Avoid unused variable warning if features are disabled. */
+ (void) ctxt;
+
#ifdef LIBXML_HTTP_ENABLED
if ((ret != NULL) && (ret->buf != NULL) &&
(ret->buf->readcallback == xmlIOHTTPRead) &&
@@ -4131,5 +4136,3 @@
return(input);
}
-#define bottom_xmlIO
-#include "elfgcchack.h"