projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #1454 from rubenk/libi2c-dev-mark-as-linux-only
[collectd.git]
/
src
/
statsd.c
diff --git
a/src/statsd.c
b/src/statsd.c
index
ea4123c
..
d0a677e
100644
(file)
--- a/
src/statsd.c
+++ b/
src/statsd.c
@@
-565,6
+565,7
@@
static int statsd_network_init (struct pollfd **ret_fds, /* {{{ */
if (tmp == NULL)
{
ERROR ("statsd plugin: realloc failed.");
if (tmp == NULL)
{
ERROR ("statsd plugin: realloc failed.");
+ close (fd);
continue;
}
fds = tmp;
continue;
}
fds = tmp;