Date: Sat, 7 Jan 2017 09:11:48 +0000 (UTC) From: Ngie Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r311605 - stable/11/contrib/netbsd-tests/lib/libc/sys Message-ID: <201701070911.v079Bm6m093556@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Sat Jan 7 09:11:48 2017 New Revision: 311605 URL: https://svnweb.freebsd.org/changeset/base/311605 Log: MFC r311270: pipe_restart: free f on function exit to quell complaint from Coverity CID: 978307 Modified: stable/11/contrib/netbsd-tests/lib/libc/sys/t_pipe.c Directory Properties: stable/11/ (props changed) Modified: stable/11/contrib/netbsd-tests/lib/libc/sys/t_pipe.c ============================================================================== --- stable/11/contrib/netbsd-tests/lib/libc/sys/t_pipe.c Sat Jan 7 09:11:18 2017 (r311604) +++ stable/11/contrib/netbsd-tests/lib/libc/sys/t_pipe.c Sat Jan 7 09:11:48 2017 (r311605) @@ -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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701070911.v079Bm6m093556>