]> granicus.if.org Git - php/commitdiff
(send_headers) Removed code freeing http_status_line, this is performed
authorBen Mansell <joosters@php.net>
Thu, 17 Aug 2000 13:40:40 +0000 (13:40 +0000)
committerBen Mansell <joosters@php.net>
Thu, 17 Aug 2000 13:40:40 +0000 (13:40 +0000)
               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?

sapi/isapi/php4isapi.c

index 6943ff20745cba964f69320184fd164d65ec2195..fdf99c5a8b6b3de0cdc9ce43b32870225024333f 100644 (file)
@@ -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;
 }