mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
libwbclient: Make wbcGetDisplayName not use talloc
This commit is contained in:
parent
ae3edf85d4
commit
b828985aa1
@ -766,7 +766,7 @@ wbcErr wbcGetDisplayName(const struct wbcDomainSid *sid,
|
||||
|
||||
wbcFreeMemory(name);
|
||||
|
||||
name = talloc_strdup(NULL, pwd->pw_gecos);
|
||||
name = wbcStrDup(pwd->pw_gecos);
|
||||
BAIL_ON_PTR_ERROR(name, wbc_status);
|
||||
wbcFreeMemory(pwd);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user