🐞fix(hos_client_create): 修复hos链接失败的内存泄漏问题
This commit is contained in:
@@ -232,6 +232,8 @@ hos_client_handle hos_client_create(const char *serverip, size_t port, const cha
|
||||
{
|
||||
delete g_hos_handle->S3Client;
|
||||
Aws::ShutdownAPI(g_options);
|
||||
free(g_hos_handle);
|
||||
g_hos_handle = NULL;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user