From: Pierangelo Masarati Date: Sun, 7 Aug 2005 14:13:29 +0000 (+0000) Subject: cleanup resources X-Git-Tag: OPENLDAP_AC_BP~77 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d8a90fd7d58d167a862e41d3b038f86840fe9a74;p=openldap cleanup resources --- diff --git a/servers/slapd/bconfig.c b/servers/slapd/bconfig.c index 0e150188f3..472f7b4ccf 100644 --- a/servers/slapd/bconfig.c +++ b/servers/slapd/bconfig.c @@ -2207,6 +2207,7 @@ config_replica(ConfigArgs *c) { return(1); } if(!ludp->lud_host) { + ldap_free_urldesc(ludp); sprintf( c->msg, "<%s> invalid uri - missing hostname", c->argv[0] ); Debug(LDAP_DEBUG_ANY, "%s: %s\n", c->log, c->msg, 0 );