mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Set SG(rfc1867_uploaded_files) to null after destroy
Closes GH-14499
This commit is contained in:
parent
bc558bf7a3
commit
c47d357db5
1 changed files with 2 additions and 1 deletions
|
@ -197,6 +197,7 @@ PHPAPI void destroy_uploaded_files_hash(void) /* {{{ */
|
||||||
} ZEND_HASH_FOREACH_END();
|
} ZEND_HASH_FOREACH_END();
|
||||||
zend_hash_destroy(SG(rfc1867_uploaded_files));
|
zend_hash_destroy(SG(rfc1867_uploaded_files));
|
||||||
FREE_HASHTABLE(SG(rfc1867_uploaded_files));
|
FREE_HASHTABLE(SG(rfc1867_uploaded_files));
|
||||||
|
SG(rfc1867_uploaded_files) = NULL;
|
||||||
}
|
}
|
||||||
/* }}} */
|
/* }}} */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue