释放hos_cache

This commit is contained in:
彭宣正
2020-12-01 16:34:33 +08:00
parent a9bbbc320c
commit 63d45c50b7

View File

@@ -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++) for (i = 0; i < handle->thread_sum; i++)
{ {
delete_all(&hash_hos_info[i]); delete_all(&hash_hos_info[i]);