decompress_iob(): Fix a memory leak
[privoxy.git] / parsers.c
index 3b19530..df7b86b 100644 (file)
--- a/parsers.c
+++ b/parsers.c
@@ -818,6 +818,7 @@ jb_err decompress_iob(struct client_state *csp)
       log_error(LOG_LEVEL_ERROR,
          "Unexpected error while decompressing to the buffer (iob): %s",
          zstr.msg);
+      freez(buf);
       return JB_ERR_COMPRESS;
    }