mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
fix leak in prev commit
This commit is contained in:
parent
a031f0c638
commit
25e12b07b3
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user