From: Kay Sievers Date: Fri, 11 May 2007 14:53:56 +0000 (+0200) Subject: udevd: close /proc/meminfo after reading X-Git-Tag: 174~1952 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fdc9a0b52a03e632f7bfde13d3e1c9e1ca94c757;p=systemd udevd: close /proc/meminfo after reading --- 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; }