From: Michael Wallner Date: Tue, 20 Jun 2006 18:42:04 +0000 (+0000) Subject: - plug a rather huge leak X-Git-Tag: RELEASE_1_0_1~5 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=fd988ae5f0d8a32ceacd9a3b67be5f67a0c3f37d;p=m6w6%2Fext-http - plug a rather huge leak # many thanks to Thomas Landrø Johnsen --- diff --git a/http_encoding_api.c b/http_encoding_api.c index 959031d..06a175f 100644 --- a/http_encoding_api.c +++ b/http_encoding_api.c @@ -327,6 +327,7 @@ retry_raw_inflate: switch (status = http_inflate_rounds(&Z, Z_NO_FLUSH, decoded, decoded_len)) { case Z_OK: case Z_STREAM_END: + inflateEnd(&Z); return SUCCESS; case Z_DATA_ERROR: