diff options
-rw-r--r-- | sapi/phpdbg/phpdbg.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c index c0152b1f75..abb2e38868 100644 --- a/sapi/phpdbg/phpdbg.c +++ b/sapi/phpdbg/phpdbg.c @@ -1809,6 +1809,11 @@ phpdbg_main: if (php_request_startup() == FAILURE) { PUTS("Could not startup"); +#ifndef _WIN32 + if (address) { + free(address); + } +#endif return 1; } |