From 8940d49f69ff106af323c3971a57610f596bb7fe Mon Sep 17 00:00:00 2001 From: 刘学利 Date: Wed, 7 Apr 2021 02:36:51 +0000 Subject: Feature tunnel detail information --- src/tsg_rule.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tsg_rule.cpp') diff --git a/src/tsg_rule.cpp b/src/tsg_rule.cpp index 374c0e3..6cbfe40 100644 --- a/src/tsg_rule.cpp +++ b/src/tsg_rule.cpp @@ -1412,7 +1412,7 @@ int tsg_scan_nesting_addr(Maat_feather_t maat_feather, const struct streaminfo * attribute_label=(struct _session_attribute_label_t *)project_req_get_struct(a_stream, g_tsg_para.internal_project_id); if(attribute_label==NULL) { - attribute_label=(struct _session_attribute_label_t *)calloc(1, sizeof(struct _session_attribute_label_t)); + attribute_label=(struct _session_attribute_label_t *)dictator_malloc(a_stream->threadnum, sizeof(struct _session_attribute_label_t)); memset(attribute_label, 0, sizeof(struct _session_attribute_label_t)); } -- cgit v1.2.3