This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
commit 25d29482eaa8b0f4a9fcabcdb6ab636511c20755 Author: YAMAMOTO Takashi <yamam...@midokura.com> AuthorDate: Tue Mar 16 15:01:11 2021 +0900 iperf: plug a thread leak --- netutils/iperf/iperf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/netutils/iperf/iperf.c b/netutils/iperf/iperf.c index df60bc0..86b0faa 100644 --- a/netutils/iperf/iperf.c +++ b/netutils/iperf/iperf.c @@ -260,6 +260,8 @@ static int iperf_start_report(void) return -1; } + pthread_detach(thread); + return 0; }