summaryrefslogtreecommitdiff
path: root/mod_php3.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-05-11 00:09:22 +0000
committerZeev Suraski <zeev@php.net>1999-05-11 00:09:22 +0000
commit3e98dc5edc30214452bc60cb45158e85a6a40073 (patch)
tree57e2d162f57ce95260ab00b8893285608afa905c /mod_php3.c
parent0b77132507dad64295a1521f9d4abfc5fbb747c9 (diff)
downloadphp-git-3e98dc5edc30214452bc60cb45158e85a6a40073.tar.gz
Memory leak fix
Diffstat (limited to 'mod_php3.c')
-rw-r--r--mod_php3.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod_php3.c b/mod_php3.c
index 85451001b4..333bbc90fa 100644
--- a/mod_php3.c
+++ b/mod_php3.c
@@ -145,6 +145,8 @@ int sapi_apache_header_handler(sapi_header_struct *sapi_header, sapi_headers_str
*p = ':'; /* a well behaved header handler shouldn't change its original arguments */
+ efree(sapi_header->header);
+
return 0; /* don't use the default SAPI mechanism, Apache duplicates this functionality */
}