diff --git a/src/os/linux/linux_sigar.c b/src/os/linux/linux_sigar.c index 20adb174..67419cf4 100644 --- a/src/os/linux/linux_sigar.c +++ b/src/os/linux/linux_sigar.c @@ -141,6 +141,8 @@ static int sigar_boot_time_get(sigar_t *sigar) } } + fclose(fp); + if (!found) { /* should never happen */ sigar->boot_time = time(NULL);