From 2f885250960e0a77678866a884602cf2cf86c7df Mon Sep 17 00:00:00 2001 From: liuxueli Date: Thu, 4 Jul 2019 18:35:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DBUG=EF=BC=8C=E5=BD=93?= =?UTF-8?q?=E7=BA=BF=E7=A8=8B=E6=95=B0=E8=B6=85=E8=BF=8732=E6=97=B6?= =?UTF-8?q?=E4=BC=9A=E5=AD=98=E5=9C=A8=E5=86=85=E5=AD=98=E8=B6=8A=E7=95=8C?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ntc_app_plug.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ntc_app_plug.cpp b/src/ntc_app_plug.cpp index 8d39f0b..96d64e6 100644 --- a/src/ntc_app_plug.cpp +++ b/src/ntc_app_plug.cpp @@ -622,7 +622,7 @@ int NTC_APP_PLUG_INIT() } #endif int max_thread_num = get_thread_count(); - g_ntc_app_plug.lhash_handle = (MESA_htable_handle *)calloc(32, sizeof(MESA_htable_handle)); + g_ntc_app_plug.lhash_handle = (MESA_htable_handle *)calloc(max_thread_num, sizeof(MESA_htable_handle)); args.thread_safe = 0; args.recursive = 0;