diff options
-rw-r--r-- | sapi/cli/php_cli.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c index f26db43151..d63ee1ae84 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -1367,6 +1367,9 @@ out: if (request_started) { php_request_shutdown((void *) 0); } + if (translated_path) { + free(translated_path); + } if (exit_status == 0) { exit_status = EG(exit_status); } |