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