From 4095c73e97b89b30c511ff5a3c0b2a7700bdedb2 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Wed, 30 Nov 2005 11:55:55 +0000 Subject: [PATCH 1/1] - fix leak with bodyonly request option --- http_functions.c | 1 + 1 file changed, 1 insertion(+) 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 { \ -- 2.30.2