mirror of
https://github.com/php/php-src.git
synced 2026-04-03 06:02:23 +02:00
Merge branch 'master' of https://git.php.net/repository/php-src
This commit is contained in:
@@ -32,6 +32,8 @@ void php_win32_core_globals_ctor(void *vg)
|
||||
{
|
||||
php_win32_core_globals *wg = (php_win32_core_globals*)vg;
|
||||
memset(wg, 0, sizeof(*wg));
|
||||
|
||||
wg->mail_socket = INVALID_SOCKET;
|
||||
}
|
||||
|
||||
void php_win32_core_globals_dtor(void *vg)
|
||||
@@ -51,6 +53,10 @@ void php_win32_core_globals_dtor(void *vg)
|
||||
free(wg->registry_directories);
|
||||
wg->registry_directories = NULL;
|
||||
}
|
||||
|
||||
if (INVALID_SOCKET != wg->mail_socket) {
|
||||
closesocket(wg->mail_socket);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user