]> git.sur5r.net Git - openldap/commitdiff
cleanup resources
authorPierangelo Masarati <ando@openldap.org>
Sun, 7 Aug 2005 14:13:29 +0000 (14:13 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sun, 7 Aug 2005 14:13:29 +0000 (14:13 +0000)
servers/slapd/bconfig.c

index 0e150188f3ab55959f6013146914b9ba391e2970..472f7b4ccf0d501b12ed5f098f04c793109e07a8 100644 (file)
@@ -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 );