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 92f8ade commit d8471afCopy full SHA for d8471af
ext/mbstring/mbstring.c
@@ -5984,6 +5984,11 @@ static void php_mb_populate_current_detect_order_list(void)
5984
entry[i] = mbfl_no2encoding(src[i]);
5985
}
5986
5987
+
5988
+ if (MBSTRG(current_detect_order_list) != NULL) {
5989
+ efree(ZEND_VOIDP(MBSTRG(current_detect_order_list)));
5990
+ }
5991
5992
MBSTRG(current_detect_order_list) = entry;
5993
MBSTRG(current_detect_order_list_size) = nentries;
5994
0 commit comments