-const char filters_rcs[] = "$Id: filters.c,v 1.122 2009/06/08 16:48:09 fabiankeil Exp $";
+const char filters_rcs[] = "$Id: filters.c,v 1.123 2009/06/19 15:50:53 fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/filters.c,v $
hints.ai_socktype = SOCK_STREAM;
i = getaddrinfo(acl_spec, ((p) ? ++p : NULL), &hints, &result);
- freez(acl_spec);
if (i != 0)
{
log_error(LOG_LEVEL_ERROR, "Can not resolve [%s]:%s: %s",
acl_spec, p, gai_strerror(i));
+ freez(acl_spec);
return(-1);
}
+ freez(acl_spec);
/* TODO: Allow multihomed hostnames */
memcpy(&(aca->addr), result->ai_addr, result->ai_addrlen);