diff --git a/src/memcached.c b/src/memcached.c
index d739203655d5fb4b840b6f36128d81efcdfcd8f4..d650f02f1d3fd866030ca2914fccaefd82a9175b 100644 (file)
--- a/src/memcached.c
+++ b/src/memcached.c
sfree (st->socket);
sfree (st->host);
sfree (st->port);
+ sfree (st);
}
static int memcached_connect_unix (memcached_t *st)
/*
* For an explanation on these fields please refer to
- * <http://code.sixapart.com/svn/memcached/trunk/server/doc/protocol.txt>
+ * <https://github.com/memcached/memcached/blob/master/doc/protocol.txt>
*/
/*
{
submit_gauge ("memcached_connections", "current", atof (fields[2]), st);
}
+ else if (FIELD_IS ("listen_disabled_num"))
+ {
+ submit_derive ("connections", "listen_disabled", atof (fields[2]), st);
+ }
/*
* Commands