Code

snort plugin: Improve error handling.
authorFlorian Forster <octo@collectd.org>
Wed, 20 Feb 2013 08:06:39 +0000 (09:06 +0100)
committerFlorian Forster <octo@collectd.org>
Wed, 20 Feb 2013 08:06:39 +0000 (09:06 +0100)
commitc97c8756a28969fea924a80bfc42c989dcd20ced
tree3eab0971b00237b8ec4228ff2443490a623647c2
parentd0d845e6e44cf123de6647bc095862ebe4b4feb3
snort plugin: Improve error handling.

This prevents file descriptors and memory from leaking if something goes
wrong, e.g. the last line in the file is a comment.
src/snort.c