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:
Mark Johnston 2023-09-27 08:30:50 -04:00
parent f97a3f6a01
commit a3074ff212

View file

@ -54,6 +54,7 @@ close_test_client(void *arg)
ATF_REQUIRE(close(s) == 0);
}
free(buf);
return (NULL);
}