]> git.ipfire.org Git - thirdparty/util-linux.git/commit
irqtop: fix open file descriptor leak
authorSami Kerola <kerolasa@iki.fi>
Sat, 4 Jan 2020 09:35:19 +0000 (09:35 +0000)
committerSami Kerola <kerolasa@iki.fi>
Fri, 21 Feb 2020 21:09:14 +0000 (21:09 +0000)
commitbc90c16a789b01b71c1bd02aba5da2183fa36d1b
treec38a4bca62535f241103a3611b1271db107bd632
parent4e55ffbddece069810a53ad792abda78247bb1d1
irqtop: fix open file descriptor leak

With very short delay one can see irqfile file descriptors pile up rather
quickly causing program to stop with too many open files error.  This commit
fixes that, and removes couple other memory leaks.  With these the command
should hopefully run fine for days if not even months.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
sys-utils/irqtop.c