From: Michael Wallner Date: Wed, 30 Nov 2005 11:55:55 +0000 (+0000) Subject: - fix leak with bodyonly request option X-Git-Tag: RELEASE_0_20_0~59 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=4095c73e97b89b30c511ff5a3c0b2a7700bdedb2;p=m6w6%2Fext-http - fix leak with bodyonly request option --- diff --git a/http_functions.c b/http_functions.c index 90350e2..f7ecd7a 100644 --- a/http_functions.c +++ b/http_functions.c @@ -985,6 +985,7 @@ PHP_FUNCTION(http_match_request_header) if (msg) { \ RETVAL_STRINGL(PHPSTR_VAL(&msg->body), PHPSTR_LEN(&msg->body), 1); \ http_message_free(&msg); \ + phpstr_dtor(&response); \ return; \ } \ } else { \