mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Fix previous patch, zero out lud_next on new urldesc
This commit is contained in:
parent
7d402a5562
commit
878466d375
1 changed files with 1 additions and 0 deletions
|
|
@ -454,6 +454,7 @@ ldap_url_dup ( LDAPURLDesc *ludp )
|
|||
return NULL;
|
||||
|
||||
*dest = *ludp;
|
||||
dest->lud_next = NULL;
|
||||
|
||||
if ( ludp->lud_host != NULL ) {
|
||||
dest->lud_host = LDAP_STRDUP( ludp->lud_host );
|
||||
|
|
|
|||
Loading…
Reference in a new issue