diff --git a/vmstat.c b/vmstat.c index f30d877f..814b528d 100644 --- a/vmstat.c +++ b/vmstat.c @@ -563,7 +563,7 @@ static void slabformat(void) } free(slabs); } - free(fSlab); + fclose(fSlab); } static void disksum_format(void)