cvs: php4 /sapi/isapi php4isapi.c
| From: | Ben Mansell | Date: | Thu, 17 Aug 2000 13:40:41 +0000 |
| Subject: | cvs: php4 /sapi/isapi php4isapi.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-1206@lists.php.net to get a copy of this message | ||
joosters Thu Aug 17 06:40:41 2000 EDT
Modified files:
/php4/sapi/isapi php4isapi.c
Log:
(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?
Index: php4/sapi/isapi/php4isapi.c
diff -u php4/sapi/isapi/php4isapi.c:1.51 php4/sapi/isapi/php4isapi.c:1.52
--- php4/sapi/isapi/php4isapi.c:1.51 Sun Aug 13 11:00:38 2000
+++ php4/sapi/isapi/php4isapi.c Thu Aug 17 06:40:40 2000
@@ -232,9 +232,6 @@
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;
}