mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 21:05:08 +00: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
|
@ -54,6 +54,7 @@ close_test_client(void *arg)
|
|||
|
||||
ATF_REQUIRE(close(s) == 0);
|
||||
}
|
||||
free(buf);
|
||||
|
||||
return (NULL);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue