Fix previous patch, zero out lud_next on new urldesc

This commit is contained in:
Howard Chu 2000-05-12 10:48:27 +00:00
parent 7d402a5562
commit 878466d375

View file

@ -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 );