summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_list.c
diff options
context:
space:
mode:
authorBob Weinand <bobwei9@hotmail.com>2016-10-14 12:25:16 +0200
committerBob Weinand <bobwei9@hotmail.com>2016-10-14 12:25:16 +0200
commit386aff451b20630f2fc4dddd5af2d4623fb18db9 (patch)
treeded1bbd9b802e1b7e8ae00a2fc828b4ce6e94c48 /sapi/phpdbg/phpdbg_list.c
parentaecd165b8f0efe0f3bbbf12c3f1e8710fbbc0458 (diff)
parent466870e2b07be801faa8e0ccf81aff0455932b45 (diff)
downloadphp-git-386aff451b20630f2fc4dddd5af2d4623fb18db9.tar.gz
Merge branch 'PHP-7.0' into PHP-7.1
Diffstat (limited to 'sapi/phpdbg/phpdbg_list.c')
-rw-r--r--sapi/phpdbg/phpdbg_list.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sapi/phpdbg/phpdbg_list.c b/sapi/phpdbg/phpdbg_list.c
index 4d5e7dd8f8..5755884ef6 100644
--- a/sapi/phpdbg/phpdbg_list.c
+++ b/sapi/phpdbg/phpdbg_list.c
@@ -313,8 +313,8 @@ zend_op_array *phpdbg_init_compile_file(zend_file_handle *file, int type) {
if (file->free_filename) {
efree((char *) file->filename);
}
- file->free_filename = 1;
- file->filename = estrdup(filename);
+ file->free_filename = 0;
+ file->filename = filename;
}
}