summaryrefslogtreecommitdiff
path: root/phpdbg.c
diff options
context:
space:
mode:
Diffstat (limited to 'phpdbg.c')
-rw-r--r--phpdbg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpdbg.c b/phpdbg.c
index d790f9d0f3..ebe7cafb7b 100644
--- a/phpdbg.c
+++ b/phpdbg.c
@@ -652,7 +652,7 @@ phpdbg_main:
case 'i': { /* set init file */
init_file_len = strlen(php_optarg);
if (init_file_len) {
- init_file = strdup(php_optarg);
+ init_file = estrdup(php_optarg);
}
} break;