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:
ngie 2017-01-04 08:43:27 +00:00
parent b42da810c8
commit bedc1a7fc3

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)