Commit 0bbeef60 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

s/strdup/ldap_strdup/

parent a088c624
......@@ -6,6 +6,7 @@ Changes included in OpenLDAP 1.2.11 Release Engineering
Fix error in slurpd's filecheck function
Fix slurpd to properly restart in oneshot mode, and to report a
non-zero number of items to process with only one replica.
Fix strdup use in libldap/request.c
Changes included in OpenLDAP 1.2.10
CVS Tag: OPENLDAP_REL_ENG_1_2_10
......
......@@ -86,7 +86,7 @@ ldap_delayed_open( LDAP *ld )
#if defined( LDAP_REFERRALS ) || defined( LDAP_DNS )
if (( srv = (LDAPServer *)calloc( 1, sizeof( LDAPServer ))) ==
NULL || ( ld->ld_defhost != NULL && ( srv->lsrv_host =
strdup( ld->ld_defhost )) == NULL ))
ldap_strdup( ld->ld_defhost )) == NULL ))
{
if (srv != NULL) free( srv );
ld->ld_errno = LDAP_NO_MEMORY;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment