diff options
author | Andi Gutmans <andi@php.net> | 2000-04-15 17:02:42 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2000-04-15 17:02:42 +0000 |
commit | 5097f642567a939da02544dcc76c89c58786fca8 (patch) | |
tree | f720c1e2cdf2cd6378bd449e7b278c772ab27145 | |
parent | a1608562aeaaf67ed73a7b2ef6cf4668a98a54ae (diff) | |
download | php-git-5097f642567a939da02544dcc76c89c58786fca8.tar.gz |
- Fix leak in require_once()
-rw-r--r-- | Zend/zend-scanner.l | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend-scanner.l b/Zend/zend-scanner.l index 0d4c67f00f..78c4497f54 100644 --- a/Zend/zend-scanner.l +++ b/Zend/zend-scanner.l @@ -585,6 +585,7 @@ int require_file(zend_file_handle *file_handle, zend_bool unique CLS_DC) pfh->type = ZEND_HANDLE_FILENAME; if (pfh->filename) { pfh->filename = estrdup(pfh->filename); + pfh->free_filename = 1; } if (pfh->opened_path) { pfh->opened_path = strdup(pfh->opened_path); |