summaryrefslogtreecommitdiff
path: root/sapi/cli/php_cli.c
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2004-11-15 14:00:48 +0000
committerAntony Dovgal <tony2001@php.net>2004-11-15 14:00:48 +0000
commit71d9afee0c42b866b4f2ebbd1ec451ac301e0186 (patch)
treeba5dd109afa20bc27f54b9cf8d7499090d7e6ac9 /sapi/cli/php_cli.c
parent61364b5bb172fa512c871b795c2613b1b587e4cd (diff)
downloadphp-git-71d9afee0c42b866b4f2ebbd1ec451ac301e0186.tar.gz
fix CLI leaks when using malformed option string
Diffstat (limited to 'sapi/cli/php_cli.c')
-rw-r--r--sapi/cli/php_cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c
index 2af1cb7ce3..5e04ea6eca 100644
--- a/sapi/cli/php_cli.c
+++ b/sapi/cli/php_cli.c
@@ -870,7 +870,7 @@ int main(int argc, char *argv[])
if (param_error) {
PUTS(param_error);
exit_status=1;
- goto out_err;
+ goto err;
}
CG(interactive) = interactive;