From 25e12b07b3e0f012c00b85e18c84655b911e7b54 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Fri, 9 Jun 2006 20:26:36 +0000 Subject: [PATCH] fix leak in prev commit --- servers/slapd/bconfig.c | 1 + 1 file changed, 1 insertion(+) diff --git a/servers/slapd/bconfig.c b/servers/slapd/bconfig.c index ec21bdc210..f890030a24 100644 --- a/servers/slapd/bconfig.c +++ b/servers/slapd/bconfig.c @@ -2641,6 +2641,7 @@ config_replica(ConfigArgs *c) { STRLENOF("://") + 1; if (ludp->lud_port != LDAP_PORT) { if (ludp->lud_port < 1 || ludp->lud_port > 65535) { + ldap_free_urldesc(ludp); snprintf( c->msg, sizeof( c->msg ), "<%s> invalid port", c->argv[0] ); Debug(LDAP_DEBUG_ANY, "%s: %s\n", c->log, c->msg, 0 ); -- 2.39.5