From fdc9a0b52a03e632f7bfde13d3e1c9e1ca94c757 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Fri, 11 May 2007 16:53:56 +0200 Subject: [PATCH] udevd: close /proc/meminfo after reading --- udevd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/udevd.c b/udevd.c index fe01d8d4..05df871a 100644 --- a/udevd.c +++ b/udevd.c @@ -335,6 +335,7 @@ static int mem_size_mb(void) } } + fclose(f); return memsize; } -- 2.39.5