diff --git a/Zend/zend.h b/Zend/zend.h index e2e500022a85e..08ee5f89d4619 100644 --- a/Zend/zend.h +++ b/Zend/zend.h @@ -20,7 +20,7 @@ #ifndef ZEND_H #define ZEND_H -#define ZEND_VERSION "4.5.1-dev" +#define ZEND_VERSION "4.5.1" #define ZEND_ENGINE_3 diff --git a/configure.ac b/configure.ac index f81d8cf609054..49f0fd191a205 100644 --- a/configure.ac +++ b/configure.ac @@ -17,7 +17,7 @@ dnl Basic autoconf initialization, generation of config.nice. dnl ---------------------------------------------------------------------------- AC_PREREQ([2.68]) -AC_INIT([PHP],[8.5.1-dev],[https://github.com/php/php-src/issues],[php],[https://www.php.net]) +AC_INIT([PHP],[8.5.1],[https://github.com/php/php-src/issues],[php],[https://www.php.net]) AC_CONFIG_SRCDIR([main/php_version.h]) AC_CONFIG_AUX_DIR([build]) AC_PRESERVE_HELP_ORDER diff --git a/ext/sockets/sockets.c b/ext/sockets/sockets.c index 6fb75e2db1db3..77cab33b800e3 100644 --- a/ext/sockets/sockets.c +++ b/ext/sockets/sockets.c @@ -546,6 +546,10 @@ static PHP_RSHUTDOWN_FUNCTION(sockets) SOCKETS_G(strerror_buf) = NULL; } +#ifdef PHP_WIN32 + zend_hash_clean(&SOCKETS_G(wsa_info)); +#endif + return SUCCESS; } /* }}} */ diff --git a/main/php_version.h b/main/php_version.h index 87cf375f2e0f9..774a31a7d8f53 100644 --- a/main/php_version.h +++ b/main/php_version.h @@ -3,6 +3,6 @@ #define PHP_MAJOR_VERSION 8 #define PHP_MINOR_VERSION 5 #define PHP_RELEASE_VERSION 1 -#define PHP_EXTRA_VERSION "-dev" -#define PHP_VERSION "8.5.1-dev" +#define PHP_EXTRA_VERSION "" +#define PHP_VERSION "8.5.1" #define PHP_VERSION_ID 80501