diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-07-16 16:50:22 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-07-16 17:07:26 +0200 |
commit | e0eca262852dba1a78afcde64a49126c81fead1a (patch) | |
tree | a23dd4d3622362459724096a5404e642b1d71db6 /sapi/phpdbg | |
parent | 49bac9b77bc9cacc0f984092d226e951ae336b43 (diff) | |
download | php-git-e0eca262852dba1a78afcde64a49126c81fead1a.tar.gz |
Drop free_filename field from zend_file_handle
free_filename was always zero.
Diffstat (limited to 'sapi/phpdbg')
-rw-r--r-- | sapi/phpdbg/phpdbg_list.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sapi/phpdbg/phpdbg_list.c b/sapi/phpdbg/phpdbg_list.c index 03b4c3526e..fe612be325 100644 --- a/sapi/phpdbg/phpdbg_list.c +++ b/sapi/phpdbg/phpdbg_list.c @@ -294,10 +294,6 @@ zend_op_array *phpdbg_init_compile_file(zend_file_handle *file, int type) { zend_string_release(file->opened_path); file->opened_path = zend_string_init(filename, strlen(filename), 0); } else { - if (file->free_filename) { - efree((char *) file->filename); - } - file->free_filename = 0; file->filename = filename; } } |