summaryrefslogtreecommitdiff
path: root/common/src/tfe_ctrl_packet.cpp
diff options
context:
space:
mode:
authorwangmenglan <[email protected]>2023-06-05 13:57:16 +0800
committerwangmenglan <[email protected]>2023-06-05 17:20:19 +0800
commit409dfb7e4b785d8f93d28d00dfbecc4f07d63ac1 (patch)
tree9e0c237bd9074edd88fb1b21eb42c967c81d0ea9 /common/src/tfe_ctrl_packet.cpp
parent4d262813384164aa139871be504fdf68ed8dcc3b (diff)
🐞 fix: 调整TFE conf 文件, 使用四元组分流; 调整metric接口调用位置
Diffstat (limited to 'common/src/tfe_ctrl_packet.cpp')
-rw-r--r--common/src/tfe_ctrl_packet.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/src/tfe_ctrl_packet.cpp b/common/src/tfe_ctrl_packet.cpp
index b86d276..67a1aae 100644
--- a/common/src/tfe_ctrl_packet.cpp
+++ b/common/src/tfe_ctrl_packet.cpp
@@ -363,7 +363,7 @@ succ:
return 0;
error:
mpack_tree_destroy(&tree);
- tfe_cmsg_destroy(handler->cmsg);
+ tfe_cmsg_destroy(&handler->cmsg);
return -1;
}
@@ -392,7 +392,7 @@ void ctrl_packet_parser_init(struct ctrl_pkt_parser *handler)
void ctrl_packet_cmsg_destroy(struct ctrl_pkt_parser *handler)
{
if (handler) {
- tfe_cmsg_destroy(handler->cmsg);
+ tfe_cmsg_destroy(&handler->cmsg);
if (handler->seq_header) {
free(handler->seq_header);