diff options
author | Volker Lendecke <vl@samba.org> | 2010-04-03 14:33:17 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-04-19 14:27:18 +0200 |
commit | b828985aa19f9d03823377cf64b7fb915ce0ba42 (patch) | |
tree | 5e2acaa908aa240c6459542300cefc1e44a08658 /nsswitch/libwbclient/wbc_sid.c | |
parent | ae3edf85d46f234eada5a7e36d97026e44005ea2 (diff) | |
download | samba-b828985aa19f9d03823377cf64b7fb915ce0ba42.tar.gz samba-b828985aa19f9d03823377cf64b7fb915ce0ba42.tar.xz samba-b828985aa19f9d03823377cf64b7fb915ce0ba42.zip |
libwbclient: Make wbcGetDisplayName not use talloc
Diffstat (limited to 'nsswitch/libwbclient/wbc_sid.c')
-rw-r--r-- | nsswitch/libwbclient/wbc_sid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nsswitch/libwbclient/wbc_sid.c b/nsswitch/libwbclient/wbc_sid.c index c5a1d34ae6..5a003b1f88 100644 --- a/nsswitch/libwbclient/wbc_sid.c +++ b/nsswitch/libwbclient/wbc_sid.c @@ -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); } |