From 63d45c50b7043165481d61c5d93849a47b362f6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BD=AD=E5=AE=A3=E6=AD=A3?= Date: Tue, 1 Dec 2020 16:34:33 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8A=E6=94=BEhos=5Fcache?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hos_client.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/hos_client.cpp b/src/hos_client.cpp index 564bd496..3497e97e 100644 --- a/src/hos_client.cpp +++ b/src/hos_client.cpp @@ -963,6 +963,11 @@ int hos_client_destory(hos_client_handle handle) } } + if (hos_cache) + { + free(hos_cache); + } + for (i = 0; i < handle->thread_sum; i++) { delete_all(&hash_hos_info[i]);