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:
parent
03ec1bd9e5
commit
36bcfc5dae
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user