diff --git a/src/statsd.c b/src/statsd.c
index ea4123c10f6d38c6a731201981eb2aba7dff8d8c..d0a677e70476c79dc5fa0299c3da4af8292cdfd9 100644 (file)
--- a/src/statsd.c
+++ b/src/statsd.c
if (tmp == NULL)
{
ERROR ("statsd plugin: realloc failed.");
+ close (fd);
continue;
}
fds = tmp;