summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e1bc245)
raw | patch | inline | side by side (parent: e1bc245)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 5 Dec 2015 12:42:33 +0000 (13:42 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Sat, 5 Dec 2015 20:33:47 +0000 (21:33 +0100) |
CID #37995
Signed-off-by: Florian Forster <octo@collectd.org>
Signed-off-by: Florian Forster <octo@collectd.org>
src/statsd.c | patch | blob | history |
diff --git a/src/statsd.c b/src/statsd.c
index 82dbce7754aeee5815fe485236fb849449dfd151..7336d37ac2a413479329636fec5ae313755c0032 100644 (file)
--- a/src/statsd.c
+++ b/src/statsd.c
if (tmp == NULL)
{
ERROR ("statsd plugin: realloc failed.");
+ close (fd);
continue;
}
fds = tmp;