diff --git a/bin/df/df.c b/bin/df/df.c index f865b8f1eeeee3..7870412951bd03 100644 --- a/bin/df/df.c +++ b/bin/df/df.c @@ -290,6 +290,7 @@ main(int argc, char *argv[]) prtstat(&mntbuf[i], &maxwidths); if (cflag) prtstat(&totalbuf, &maxwidths); + free(mntbuf); return (rv); }