From 9c3840ba48ab5845ed3da1a6f8b8f3757ab3e71f Mon Sep 17 00:00:00 2001 From: liuxueli Date: Wed, 19 Aug 2020 13:06:50 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=B3=E8=AF=B7MESA=5Fhtable=E5=8F=A5?= =?UTF-8?q?=E6=9F=84=E6=97=B6=EF=BC=8C=E5=88=9D=E5=A7=8B=E5=8C=96=E5=8F=82?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ntc_app_plug.cpp | 1 + 1 file changed, 1 insertion(+) 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;