修正cmsg发送成功后,buff数据未释放
This commit is contained in:
@@ -98,7 +98,8 @@ int sender_scm_cmsg_send(struct sender_scm *sender, struct tfe_cmsg *cmsg)
|
|||||||
{
|
{
|
||||||
TFE_LOG_ERROR(logger, "Failed at send udp data, errno is %d, %s", errno, strerror(errno));
|
TFE_LOG_ERROR(logger, "Failed at send udp data, errno is %d, %s", errno, strerror(errno));
|
||||||
goto error_out;
|
goto error_out;
|
||||||
}
|
}
|
||||||
|
FREE(&buff);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
error_out:
|
error_out:
|
||||||
|
|||||||
Reference in New Issue
Block a user