X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Firq.c;h=93f3f53bea09b964db1f32109c88faf685465e15;hb=10b10a6718dbb87c6890d4bc821a6e21c8b7b527;hp=6afacf0d0dfbee2ad740a00de6200ff66e289d11;hpb=71478cd6550a4e930a1e9b8a906a66579e4e387a;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); }