未验证 提交 65914a83 编写于 作者: O openharmony_ci 提交者: Gitee

!1828 解决接口攻击失败问题

Merge pull request !1828 from 李明康/0315master
......@@ -69,13 +69,13 @@ static LE_STATUS HandleRecvMsg_(const LoopHandle loopHandle,
}
}
if (status != LE_SUCCESS) {
FreeBuffer(loopHandle, (StreamTask *)taskHandle, buffer);
FreeBuffer(loopHandle, NULL, buffer);
return status;
}
if (recvMessage) {
recvMessage(taskHandle, buffer->data, readLen);
}
FreeBuffer(loopHandle, (StreamTask *)taskHandle, buffer);
FreeBuffer(loopHandle, NULL, buffer);
return status;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册