!139 utilxts bugfix

Merge pull request !139 from lukai/OpenHarmony-3.2-Beta2
This commit is contained in:
openharmony_ci
2022-07-23 14:21:32 +00:00
committed by Gitee
2 changed files with 0 additions and 3 deletions
-2
View File
@@ -456,8 +456,6 @@ namespace OHOS::Util {
inputDecode = static_cast<char*>(resultData) + byteOffset;
CreateDecodePromise(env, inputDecode, length);
}
delete[] inputString;
inputString = nullptr;
return stdDecodeInfo_->promise;
}
void Base64::CreateDecodePromise(napi_env env, char *inputDecode, size_t length)
-1
View File
@@ -42,7 +42,6 @@ namespace OHOS::Util {
}
}
label_ = i32Flag;
SetHwIcuDirectory();
bool fatal =
(i32Flag & static_cast<uint32_t>(ConverterFlags::FATAL_FLG)) ==
static_cast<uint32_t>(ConverterFlags::FATAL_FLG);