From: Howard Chu Date: Fri, 12 May 2000 10:48:27 +0000 (+0000) Subject: Fix previous patch, zero out lud_next on new urldesc X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~2996 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=878466d375d375e243ba9dbe9ff8b7e3ba918cf5;p=openldap Fix previous patch, zero out lud_next on new urldesc --- diff --git a/libraries/libldap/url.c b/libraries/libldap/url.c index 7be84de9cc..b15b1dc7e5 100644 --- a/libraries/libldap/url.c +++ b/libraries/libldap/url.c @@ -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 );