diff options
| author | liuxueli <[email protected]> | 2020-08-19 13:06:50 +0800 |
|---|---|---|
| committer | liuxueli <[email protected]> | 2020-08-19 13:06:50 +0800 |
| commit | 9c3840ba48ab5845ed3da1a6f8b8f3757ab3e71f (patch) | |
| tree | 0a63206f77ea3e6339f725d4b60b440d5f71617c /src/ntc_app_plug.cpp | |
| parent | 3e3ade9f4e6baf4344b1db2f13df878cf7196fd0 (diff) | |
Diffstat (limited to 'src/ntc_app_plug.cpp')
| -rw-r--r-- | src/ntc_app_plug.cpp | 1 |
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; |
