summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author彭宣正 <[email protected]>2020-12-01 16:34:33 +0800
committer彭宣正 <[email protected]>2020-12-02 09:48:01 +0800
commit63d45c50b7043165481d61c5d93849a47b362f6e (patch)
tree5ad9ac6a4c09ed03b7823d5cb62c86fa894f9e40
parenta9bbbc320cfe433ccb566552c2e7f43916eb67bf (diff)
释放hos_cache
-rw-r--r--src/hos_client.cpp5
1 files changed, 5 insertions, 0 deletions
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]);