Author: eadler Date: Sun Sep 16 16:08:20 2012 New Revision: 240565 URL: http://svn.freebsd.org/changeset/base/240565
Log: Revert 240527: mntbuf can poit to memory allocated by getmntinfo(3) which can't be freed PR: bin/171634 Approved by: cperciva (implicit) Modified: head/bin/df/df.c Modified: head/bin/df/df.c ============================================================================== --- head/bin/df/df.c Sun Sep 16 15:35:05 2012 (r240564) +++ head/bin/df/df.c Sun Sep 16 16:08:20 2012 (r240565) @@ -290,7 +290,6 @@ main(int argc, char *argv[]) prtstat(&mntbuf[i], &maxwidths); if (cflag) prtstat(&totalbuf, &maxwidths); - free(mntbuf); return (rv); } _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"