nearly forgot to close pipe in status line

This commit is contained in:
shockrahwow 2019-07-20 19:11:21 -07:00
parent ac2594dc0f
commit a2d4fe7219

View File

@ -57,6 +57,7 @@ ram_usage(void)
double total = info.totalram / 1000000000.;
snprintf(buf, sizeof(buf), "%.2f G/ %.1f G", used, total);
pclose(res);
return buf;
}