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 8ce0280ca22c5e0911d2e5115674f972b47ba27f..15fb5fd133e21b7a342c55b7d8eed48f8beee4a7 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));