summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2007-05-11 16:53:56 +0200
committerKay Sievers <kay.sievers@vrfy.org>2007-05-11 16:53:56 +0200
commitfdc9a0b52a03e632f7bfde13d3e1c9e1ca94c757 (patch)
tree21962f47fb21b9a92172b2c79ee4061f59e5b427
parent85135c740b36a26baad5e9ea92d9afd79c468d9d (diff)
udevd: close /proc/meminfo after reading
-rw-r--r--udevd.c1
1 files changed, 1 insertions, 0 deletions
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;
}