From 5add39f46c8323875fb56bc764a8ff627ad82f18 Mon Sep 17 00:00:00 2001 From: Fu Juntang <StrongTiger_001@163.com> Date: 星期五, 08 十月 2021 11:12:06 +0800 Subject: [PATCH] Adjust the free action independent of the return value from the function return. --- test_socket/bus_test.cpp | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/test_socket/bus_test.cpp b/test_socket/bus_test.cpp index 8d630b6..d2ead68 100644 --- a/test_socket/bus_test.cpp +++ b/test_socket/bus_test.cpp @@ -63,7 +63,6 @@ char content[512]; long i = 0; - pthread_create(&tid, NULL, run_recv, (void *)sk); while (true) { @@ -136,4 +135,4 @@ return 0; -} \ No newline at end of file +} -- Gitblit v1.8.0