summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}
}