diff options
Diffstat (limited to 'ldap')
-rw-r--r-- | ldap/servers/slapd/mapping_tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ldap/servers/slapd/mapping_tree.c b/ldap/servers/slapd/mapping_tree.c index f24c9189..77a21bf4 100644 --- a/ldap/servers/slapd/mapping_tree.c +++ b/ldap/servers/slapd/mapping_tree.c @@ -475,13 +475,13 @@ mtn_get_referral_from_entry(Slapi_Entry * entry) return NULL; slapi_attr_get_numvalues(attr, &nb); - referral = (char **) slapi_ch_malloc(sizeof(char *) * (nb+1)); hint = slapi_attr_first_value(attr, &val); if (NULL == val) { LDAPDebug(LDAP_DEBUG_ANY, "Warning: The nsslapd-referral attribute has no value for the mapping tree node %s\n", slapi_entry_get_dn(entry), 0, 0); return NULL; } + referral = (char **) slapi_ch_malloc(sizeof(char *) * (nb+1)); nb = 0; while (val) { |