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:
@@ -54,6 +54,7 @@ close_test_client(void *arg)
|
||||
|
||||
ATF_REQUIRE(close(s) == 0);
|
||||
}
|
||||
free(buf);
|
||||
|
||||
return (NULL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user