Signed-off-by: hw-wLiu <liuwei573@huawei.com>
This commit is contained in:
hw-wLiu 2024-11-14 16:58:40 +08:00
parent c277cc7ddd
commit de9f5c8092

View File

@ -383,6 +383,7 @@ static void WriteMmap(const char* data)
// 建立映射
char* pMap = CreateMmap();
if (data == nullptr || strlen(data) == 0) {
RemoveMmap(pMap);
return;
}
// 写入