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 f8cb9db7295aef77d4db624f90dad93905625ece Author: YAMAMOTO Takashi <yamam...@midokura.com> AuthorDate: Tue Mar 16 15:19:55 2021 +0900 iperf: Plug a memory leak --- netutils/iperf/iperf_main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/netutils/iperf/iperf_main.c b/netutils/iperf/iperf_main.c index f559a86..15c1c08 100644 --- a/netutils/iperf/iperf_main.c +++ b/netutils/iperf/iperf_main.c @@ -215,6 +215,9 @@ int main(int argc, FAR char *argv[]) } } + arg_freetable((FAR void **)&iperf_args, + sizeof(iperf_args) / sizeof(FAR void *)); + printf("\n mode=%s-%s " "sip=%" PRId32 ".%" PRId32 ".%" PRId32 ".%" PRId32 ":%d," "dip=%" PRId32 ".%" PRId32 ".%" PRId32 ".%" PRId32 ":%d, "