summaryrefslogtreecommitdiff
path: root/sapi/apache/mod_php4.c
diff options
context:
space:
mode:
Diffstat (limited to 'sapi/apache/mod_php4.c')
-rw-r--r--sapi/apache/mod_php4.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sapi/apache/mod_php4.c b/sapi/apache/mod_php4.c
index 690a7c3c8d..3aaa6bafb9 100644
--- a/sapi/apache/mod_php4.c
+++ b/sapi/apache/mod_php4.c
@@ -163,6 +163,7 @@ int sapi_apache_header_handler(sapi_header_struct *sapi_header, sapi_headers_str
header_content = p = strchr(header_name, ':');
if (!p) {
+ efree(sapi_header->header);
return 0;
}