Fixed double-free when auto-decompressing pages
authorIlia Alshanetsky <iliaa@php.net>
Mon, 22 Nov 2010 20:17:41 +0000 (20:17 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Mon, 22 Nov 2010 20:17:41 +0000 (20:17 +0000)
http_encoding_api.c

index 8ce0280..15fb5fd 100644 (file)
@@ -347,10 +347,6 @@ retry_raw_inflate:
                                }
                }
                inflateEnd(&Z);
-
-               if (decoded_len && *decoded) {
-                       efree(*decoded);
-               }
        }
        
        http_error_ex(HE_WARNING, HTTP_E_ENCODING, "Could not inflate data: %s", zError(status));