diff --git a/CHANGELOG b/CHANGELOG index 07c8e96..784a648 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -4,6 +4,7 @@ - fix include check full patch for file map of same name. - fix cache entrys not being cleaned up on submount expire. - fix LDAP lookup delete cache entry only if entry doesn't exist. +- add missing socket close in replicated host check (Jeff Moyer). 1/9/2006 autofs-5.0.1 rc2 ------------------------- diff --git a/modules/replicated.c b/modules/replicated.c index 7558383..9336cf8 100644 --- a/modules/replicated.c +++ b/modules/replicated.c @@ -149,6 +149,7 @@ static unsigned int get_proximity(const if (ret == -1) { char *estr = strerror_r(errno, buf, MAX_ERR_BUF); error(LOGOPT_ANY, "ioctl: %s", estr); + close(sock); return PROXIMITY_ERROR; }