summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author彭宣正 <[email protected]>2020-12-01 16:34:33 +0800
committer彭宣正 <[email protected]>2020-12-01 16:34:33 +0800
commita1550d1f71197da6af3c56887c77677c03674f16 (patch)
tree0341d7413d3afe653bc067acb3389a16e4ea2013
parent37e49a707d2f287ca3d0b2151b2f560b203f8f69 (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]);