From 878466d375d375e243ba9dbe9ff8b7e3ba918cf5 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Fri, 12 May 2000 10:48:27 +0000 Subject: [PATCH] Fix previous patch, zero out lud_next on new urldesc --- libraries/libldap/url.c | 1 + 1 file changed, 1 insertion(+) 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 ); -- 2.39.5