We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3e3369 commit e879eadCopy full SHA for e879ead
ext/mbstring/mbstring.c
@@ -1165,10 +1165,8 @@ PHP_RSHUTDOWN_FUNCTION(mbstring)
1165
MBSTRG(outconv_state) = 0;
1166
1167
if (MBSTRG(all_encodings_list)) {
1168
- if (GC_DELREF(MBSTRG(all_encodings_list)) == 0) {
1169
- /* must be *array* destroy to remove from GC root buffer and free the hashtable itself */
1170
- zend_array_destroy(MBSTRG(all_encodings_list));
1171
- }
+ /* must be *array* release to remove from GC root buffer and free the hashtable itself */
+ zend_array_release(MBSTRG(all_encodings_list));
1172
MBSTRG(all_encodings_list) = NULL;
1173
}
1174
0 commit comments