From: Zeev Suraski Date: Tue, 11 May 1999 00:09:22 +0000 (+0000) Subject: Memory leak fix X-Git-Tag: BEFORE_PHP4_APACHE_MODULE_CHANGE~68 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3e98dc5edc30214452bc60cb45158e85a6a40073;p=php Memory leak fix --- 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 */ }