mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-22 22:18:28 +00:00
iperf: Plug a memory leak
This commit is contained in:
parent
25d29482ea
commit
f8cb9db729
1 changed files with 3 additions and 0 deletions
|
|
@ -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, "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue