summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/lib/libc/sys/t_pipe.c
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2017-01-09 12:07:59 -0200
committerRenato Botelho <renato@netgate.com>2017-01-09 12:07:59 -0200
commitbaeac042059786f1ed0cca7ca4a4a32721362cab (patch)
tree3b848bddaf0f478d0c0651c8ee62129d3d9bacf5 /contrib/netbsd-tests/lib/libc/sys/t_pipe.c
parent1af1408e09373ae856cfef567d79849c7e7e0d25 (diff)
parentf91948fdd5322d9aae1e8785976df69612c1999f (diff)
downloadFreeBSD-src-baeac042059786f1ed0cca7ca4a4a32721362cab.zip
FreeBSD-src-baeac042059786f1ed0cca7ca4a4a32721362cab.tar.gz
Merge remote-tracking branch 'origin/stable/11' into devel-11
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/sys/t_pipe.c')
-rw-r--r--contrib/netbsd-tests/lib/libc/sys/t_pipe.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/netbsd-tests/lib/libc/sys/t_pipe.c b/contrib/netbsd-tests/lib/libc/sys/t_pipe.c
index b30b94d..32beecc 100644
--- a/contrib/netbsd-tests/lib/libc/sys/t_pipe.c
+++ b/contrib/netbsd-tests/lib/libc/sys/t_pipe.c
@@ -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)
OpenPOWER on IntegriCloud