Set SG(rfc1867_uploaded_files) to null after destroy

Closes GH-14499
This commit is contained in:
Kévin Dunglas 2024-06-07 18:09:23 +02:00 committed by Ilija Tovilo
parent bc558bf7a3
commit c47d357db5
No known key found for this signature in database
GPG Key ID: 5050C66BFCD1015A

View File

@ -197,6 +197,7 @@ PHPAPI void destroy_uploaded_files_hash(void) /* {{{ */
} ZEND_HASH_FOREACH_END();
zend_hash_destroy(SG(rfc1867_uploaded_files));
FREE_HASHTABLE(SG(rfc1867_uploaded_files));
SG(rfc1867_uploaded_files) = NULL;
}
/* }}} */