mirror of
https://github.com/php/php-src.git
synced 2024-12-22 08:20:23 +08:00
Memory leak fix
This commit is contained in:
parent
0b77132507
commit
3e98dc5edc
@ -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 */
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user