fixing bug 118559
diff --git a/xmlIO.c b/xmlIO.c
index ce5d466..8be3af4 100644
--- a/xmlIO.c
+++ b/xmlIO.c
@@ -720,20 +720,24 @@
*/
static void
xmlFreeZMemBuff( xmlZMemBuffPtr buff ) {
-
+
+#ifdef DEBUG_HTTP
int z_err;
+#endif
if ( buff == NULL )
return;
xmlFree( buff->zbuff );
- z_err = deflateEnd( &buff->zctrl );
#ifdef DEBUG_HTTP
+ z_err = deflateEnd( &buff->zctrl );
if ( z_err != Z_OK )
xmlGenericError( xmlGenericErrorContext,
"xmlFreeZMemBuff: Error releasing zlib context: %d\n",
z_err );
-#endif
+#else
+ deflateEnd( &buff->zctrl );
+#endif;
xmlFree( buff );
return;