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