Author: ngie
Date: Sat Jan  7 09:12:51 2017
New Revision: 311606
URL: https://svnweb.freebsd.org/changeset/base/311606

Log:
  MFC r311270:
  
  pipe_restart: free f on function exit to quell complaint from Coverity
  
  CID:          978307

Modified:
  stable/10/contrib/netbsd-tests/lib/libc/sys/t_pipe.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/contrib/netbsd-tests/lib/libc/sys/t_pipe.c
==============================================================================
--- stable/10/contrib/netbsd-tests/lib/libc/sys/t_pipe.c        Sat Jan  7 
09:11:48 2017        (r311605)
+++ stable/10/contrib/netbsd-tests/lib/libc/sys/t_pipe.c        Sat Jan  7 
09:12:51 2017        (r311606)
@@ -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)
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to