From: Ben Mansell Date: Thu, 17 Aug 2000 13:40:40 +0000 (+0000) Subject: (send_headers) Removed code freeing http_status_line, this is performed X-Git-Tag: php-4.0.2RC1~81 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8751bcb8ebeb47575360627fff3e50b847dfc637;p=php (send_headers) Removed code freeing http_status_line, this is performed in sapi_send_headers() # Looks like a similar problem in sapi/pi3web/pi3web_sapi.c as well. # I can't test this though, so I'm being paranoid and not changing that code. # Could someone please check this? --- diff --git a/sapi/isapi/php4isapi.c b/sapi/isapi/php4isapi.c index 6943ff2074..fdf99c5a8b 100644 --- a/sapi/isapi/php4isapi.c +++ b/sapi/isapi/php4isapi.c @@ -232,9 +232,6 @@ static int sapi_isapi_send_headers(sapi_headers_struct *sapi_headers SLS_DC) lpECB->ServerSupportFunction(lpECB->ConnID, HSE_REQ_SEND_RESPONSE_HEADER_EX, &header_info, NULL, NULL); efree(combined_headers); - if (SG(sapi_headers).http_status_line) { - efree(SG(sapi_headers).http_status_line); - } return SAPI_HEADER_SENT_SUCCESSFULLY; }