summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorliuxueli <[email protected]>2020-08-19 13:06:50 +0800
committerliuxueli <[email protected]>2020-08-19 13:06:50 +0800
commit9c3840ba48ab5845ed3da1a6f8b8f3757ab3e71f (patch)
tree0a63206f77ea3e6339f725d4b60b440d5f71617c
parent3e3ade9f4e6baf4344b1db2f13df878cf7196fd0 (diff)
申请MESA_htable句柄时,初始化参数HEADmaster
-rw-r--r--src/ntc_app_plug.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ntc_app_plug.cpp b/src/ntc_app_plug.cpp
index 96d64e6..5f26943 100644
--- a/src/ntc_app_plug.cpp
+++ b/src/ntc_app_plug.cpp
@@ -624,6 +624,7 @@ int NTC_APP_PLUG_INIT()
int max_thread_num = get_thread_count();
g_ntc_app_plug.lhash_handle = (MESA_htable_handle *)calloc(max_thread_num, sizeof(MESA_htable_handle));
+ memset(&args, 0, sizeof(args));
args.thread_safe = 0;
args.recursive = 0;
args.hash_slot_size = 8192;