OCT 1. 修正一处内存泄漏

This commit is contained in:
huangxin 2023-02-15 17:40:08 +08:00
parent 5caaf49cd8
commit 14daf5f945
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ int main(int argc, char **argv) {
task_manager_run();
const char *pStrExit = proto_create_new(create_app_process_status(0), 200);
inet_http_post_async(config_get_agent_moniter_report_url(), pStrSetup, on_http_response_cb, (void *)pStrSetup);
inet_http_post_async(config_get_agent_moniter_report_url(), pStrSetup, on_http_response_cb, (void *)pStrExit);
while (!is_system_cleanup()) {
sleep(1);