summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-04-03 14:33:17 +0200
committerVolker Lendecke <vl@samba.org>2010-04-19 14:27:18 +0200
commitb828985aa19f9d03823377cf64b7fb915ce0ba42 (patch)
tree5e2acaa908aa240c6459542300cefc1e44a08658
parentae3edf85d46f234eada5a7e36d97026e44005ea2 (diff)
downloadsamba-b828985aa19f9d03823377cf64b7fb915ce0ba42.tar.gz
samba-b828985aa19f9d03823377cf64b7fb915ce0ba42.tar.bz2
samba-b828985aa19f9d03823377cf64b7fb915ce0ba42.zip
libwbclient: Make wbcGetDisplayName not use talloc
-rw-r--r--nsswitch/libwbclient/wbc_sid.c2
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);
}