applied patch from Geert Jansen to remove xmlBufferClose() which is not

* xmlIO.c: applied patch from Geert Jansen to remove xmlBufferClose()
  which is not needed.
Daniel
diff --git a/ChangeLog b/ChangeLog
index fc76f9d..20f978b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sun Nov 13 13:42:41 CET 2005 Daniel Veillard <daniel@veillard.com>
+
+	* xmlIO.c: applied patch from Geert Jansen to remove xmlBufferClose()
+	  which is not needed.
+
 Fri Nov 11 13:48:52 CET 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
 
 	* xmlschemas.c: Changed xmlSchemaFormatIDCKeySequence()
diff --git a/xmlIO.c b/xmlIO.c
index f30f775..2610e25 100644
--- a/xmlIO.c
+++ b/xmlIO.c
@@ -882,19 +882,6 @@
         return(-1);
     return(len);
 }
-
-/**
- * xmlBufferClose:
- * @context:  the xmlBuffer
- *
- * Close a buffer
- *
- * Returns 0 or -1 in case of error
- */
-static int
-xmlBufferClose (void * context) {
-    return(0);
-}
 #endif
 
 #ifdef HAVE_ZLIB_H
@@ -2493,8 +2480,7 @@
     ret = xmlOutputBufferCreateIO((xmlOutputWriteCallback)
                                   xmlBufferWrite,
                                   (xmlOutputCloseCallback)
-                                  xmlBufferClose,
-                                  (void *) buffer, encoder);
+                                  NULL, (void *) buffer, encoder);
 
     return(ret);
 }