Skip to content

Commit b53bb3c

Browse files
committed
Fix UConverter leak
1 parent 77f7ec5 commit b53bb3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/intl/converter/converter.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,7 @@ static PHP_METHOD(UConverter, transcode) {
828828

829829
if (U_SUCCESS(error) &&
830830
(ret = php_converter_do_convert(dest_cnv, src_cnv, str, str_len, NULL)) != NULL) {
831-
RETURN_NEW_STR(ret);
831+
RETVAL_NEW_STR(ret);
832832
}
833833

834834
if (U_FAILURE(error)) {

0 commit comments

Comments
 (0)