From a2d4fe7219b50561e442b52259bee85fa0c8f25b Mon Sep 17 00:00:00 2001 From: shockrahwow Date: Sat, 20 Jul 2019 19:11:21 -0700 Subject: [PATCH] nearly forgot to close pipe in status line --- dwm-stat/status.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dwm-stat/status.c b/dwm-stat/status.c index bce3cbb..9be2f86 100644 --- a/dwm-stat/status.c +++ b/dwm-stat/status.c @@ -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; }