Index: lib/content_encoding.c
===================================================================
RCS file: /cvsroot/curl/curl/lib/content_encoding.c,v
retrieving revision 1.30
diff -u -r1.30 content_encoding.c
--- lib/content_encoding.c	14 Feb 2009 09:12:55 -0000	1.30
+++ lib/content_encoding.c	14 Feb 2009 14:48:15 -0000
@@ -136,7 +136,7 @@
       (void) inflateEnd(z);     /* don't care about the return code */
       if(inflateInit2(z, -MAX_WBITS) != Z_OK) {
         free(decomp);
-        return process_zlib_error(conn, z);
+        return exit_zlib(z, &k->zlib_init, process_zlib_error(conn, z));
       }
       z->next_in = orig_in;
       z->avail_in = nread;

