1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=240565

View File

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