mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
fix leak in prev commit
This commit is contained in:
parent
a031f0c638
commit
25e12b07b3
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue