diff options
| author | 刘学利 <[email protected]> | 2021-04-07 02:36:51 +0000 |
|---|---|---|
| committer | 刘学利 <[email protected]> | 2021-04-07 02:36:51 +0000 |
| commit | 8940d49f69ff106af323c3971a57610f596bb7fe (patch) | |
| tree | 737cac4e35c3523eb4ff01ff57b8ec75916b7640 /src/tsg_rule.cpp | |
| parent | 174ca0236b3fbee747aab82b304411eaf233117d (diff) | |
Feature tunnel detail informationv3.4.9
Diffstat (limited to 'src/tsg_rule.cpp')
| -rw-r--r-- | src/tsg_rule.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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)); } |
