Revert 240527:

mntbuf can poit to memory allocated by getmntinfo(3) which can't be freed

PR:		bin/171634
Approved by:	cperciva (implicit)
This commit is contained in:
Eitan Adler 2012-09-16 16:08:20 +00:00
parent 6cbae38f63
commit 65e415b16e

View File

@ -290,7 +290,6 @@ main(int argc, char *argv[])
prtstat(&mntbuf[i], &maxwidths);
if (cflag)
prtstat(&totalbuf, &maxwidths);
free(mntbuf);
return (rv);
}