projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
zfs_arc plugin: Plug memory leak on Linux.
[collectd.git]
/
src
/
pinba.c
diff --git
a/src/pinba.c
b/src/pinba.c
index
9f0a800
..
e94ad8f
100644
(file)
--- a/
src/pinba.c
+++ b/
src/pinba.c
@@
-336,6
+336,7
@@
static int pb_add_socket (pinba_socket_t *s, /* {{{ */
char errbuf[1024];
ERROR ("pinba plugin: bind(2) failed: %s",
sstrerror (errno, errbuf, sizeof (errbuf)));
+ close (fd);
return (0);
}