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:
parent
6cbae38f63
commit
65e415b16e
@ -290,7 +290,6 @@ main(int argc, char *argv[])
|
||||
prtstat(&mntbuf[i], &maxwidths);
|
||||
if (cflag)
|
||||
prtstat(&totalbuf, &maxwidths);
|
||||
free(mntbuf);
|
||||
return (rv);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user