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:
parent
64af3fbaba
commit
c0b11b8e04
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user