1
0
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:
Volker Lendecke 2010-04-03 14:33:17 +02:00
parent ae3edf85d4
commit b828985aa1

View File

@ -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);
}