pipe_restart: free f on function exit to quell complaint from Coverity

MFC after:	3 days
Reported by:	Coverity
CID:		978307
This commit is contained in:
Enji Cooper 2017-01-04 08:43:27 +00:00
parent 64af3fbaba
commit c0b11b8e04

View File

@ -153,6 +153,9 @@ ATF_TC_BODY(pipe_restart, tc)
ATF_REQUIRE_EQ(WEXITSTATUS(st), 0);
}
#ifdef __FreeBSD__
free(f);
#endif
}
ATF_TP_ADD_TCS(tp)