]> git.itanic.dy.fi Git - rrdd/commit
netstat_parser: Fix file descriptor leak
authorTimo Kokkonen <timo.t.kokkonen@iki.fi>
Mon, 11 Jul 2016 04:10:26 +0000 (07:10 +0300)
committerTimo Kokkonen <timo.t.kokkonen@iki.fi>
Mon, 11 Jul 2016 04:10:26 +0000 (07:10 +0300)
commit0b6ba191dc8f79148be565d3f6df948cb87f5db7
tree8d4d4db4c5e097f070eeacf9d7830a327ffd9d62
parentb3f5ca5a7ce0d5d409bb4a7bf4e4686a0a55f6a4
netstat_parser: Fix file descriptor leak

Once data is read, close the descriptor to prevent a leak.

Signed-off-by: Timo Kokkonen <timo.t.kokkonen@iki.fi>
built_in_parsers.c