summaryrefslogtreecommitdiff
path: root/sapi/apache/sapi_apache.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-12-04 13:25:41 +0000
committerZeev Suraski <zeev@php.net>1999-12-04 13:25:41 +0000
commitda5464b145be141a4b9a7130d554f73e022acc85 (patch)
tree96fe417491a97c49b3c9cc3b3d6557107fa3205d /sapi/apache/sapi_apache.c
parent502bb337fe4b4df88dcc5531c62326ed49a08b2e (diff)
downloadphp-git-da5464b145be141a4b9a7130d554f73e022acc85.tar.gz
- zend_file_handles must now flag whether their .filename property should be
free by Zend or not (uses e*() functions)
Diffstat (limited to 'sapi/apache/sapi_apache.c')
-rw-r--r--sapi/apache/sapi_apache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sapi/apache/sapi_apache.c b/sapi/apache/sapi_apache.c
index 3676b2d13a..4ca0ed615c 100644
--- a/sapi/apache/sapi_apache.c
+++ b/sapi/apache/sapi_apache.c
@@ -71,6 +71,7 @@ PHPAPI int apache_php_module_main(request_rec *r, int fd, int display_source_mod
file_handle.type = ZEND_HANDLE_FD;
file_handle.handle.fd = fd;
file_handle.filename = SG(request_info).path_translated;
+ file_handle.free_filename = 0;
if (display_source_mode) {
zend_syntax_highlighter_ini syntax_highlighter_ini;