mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
socket tests: Avoid a buffer leak
Reported by: Coverity
Fixes: 38426b32e1 ("socket tests: Add a regression test for MSG_WAITALL")
This commit is contained in:
parent
f97a3f6a01
commit
a3074ff212
1 changed files with 1 additions and 0 deletions
|
|
@ -54,6 +54,7 @@ close_test_client(void *arg)
|
|||
|
||||
ATF_REQUIRE(close(s) == 0);
|
||||
}
|
||||
free(buf);
|
||||
|
||||
return (NULL);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue