X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=inline;f=src%2Firq.c;h=93f3f53bea09b964db1f32109c88faf685465e15;hb=9c1acd10074995f6ec95eca6664c4bce4b7d7c1b;hp=6afacf0d0dfbee2ad740a00de6200ff66e289d11;hpb=594aa45c1df64eadae54c415524f3a267c12d7f8;p=collectd.git diff --git a/src/irq.c b/src/irq.c index 6afacf0d..93f3f53b 100644 --- a/src/irq.c +++ b/src/irq.c @@ -120,6 +120,7 @@ static int irq_read (void) } else { ERROR ("irq plugin: unable to get CPU count from first line " "of /proc/interrupts"); + fclose (fh); return (-1); }