1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

r5481: Fix a memleak

This commit is contained in:
Volker Lendecke 2005-02-21 11:11:13 +00:00 committed by Gerald (Jerry) Carter
parent 03ec1bd9e5
commit 36bcfc5dae

View File

@ -3268,6 +3268,8 @@ and will risk BDCs having inconsistant SIDs\n"));
}
ldap_state->domain_dn = smb_xstrdup(dn);
ldap_memfree(dn);
if (smbldap_get_single_pstring(ldap_state->smbldap_state->ldap_struct, entry,
get_userattr_key2string(ldap_state->schema_ver, LDAP_ATTR_USER_SID),
domain_sid_string)) {