update tests/sdk/transmission/fuzztest/rawstreamdata_fuzzer/rawstreamdata_fuzzer.cpp.

Signed-off-by: xy420 <chenxianyang@hust.edu.cn>
This commit is contained in:
xy420 2023-04-12 14:46:21 +00:00 committed by Gitee
parent 463094a5f3
commit 24662d3e7b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -43,7 +43,7 @@ namespace OHOS {
char *ext = new char[Communication::SoftBus::MAX_STREAM_LEN + 1];
if (ext == nullptr) {
delete []buf;
ext = nullptr;
buf = nullptr;
return;
}
std::unique_ptr<char[]> inputext (ext);