diff options
Diffstat (limited to 'sapi/phpdbg/phpdbg.c')
-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 d71e02f907..1e0f44fcf2 100644 --- a/sapi/phpdbg/phpdbg.c +++ b/sapi/phpdbg/phpdbg.c @@ -1807,6 +1807,11 @@ phpdbg_main: if (php_request_startup() == FAILURE) { PUTS("Could not startup"); +#ifndef _WIN32 + if (address) { + free(address); + } +#endif return 1; } |