Commit d70568e
committed
intl: Fix memory leak in IntlChar::getFC_NFKC_Closure()
Free the closure buffer before the UTF-8 conversion status check, which
returns early on failure.
Closes phpGH-222521 parent 6501051 commit d70568e
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
525 | 525 | | |
526 | 526 | | |
527 | 527 | | |
528 | | - | |
529 | 528 | | |
| 529 | + | |
530 | 530 | | |
531 | 531 | | |
532 | 532 | | |
| |||
0 commit comments