diff --git a/ext/standard/password.c b/ext/standard/password.c index 1fa70e0e262..7998559e941 100644 --- a/ext/standard/password.c +++ b/ext/standard/password.c @@ -527,10 +527,11 @@ PHP_MSHUTDOWN_FUNCTION(password) /* {{{ */ { #ifdef ZTS if (!tsrm_is_main_thread()) { - return; + return SUCCESS; } #endif zend_hash_destroy(&php_password_algos); + return SUCCESS; } /* }}} */