From b828985aa19f9d03823377cf64b7fb915ce0ba42 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 3 Apr 2010 14:33:17 +0200 Subject: libwbclient: Make wbcGetDisplayName not use talloc --- nsswitch/libwbclient/wbc_sid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nsswitch') 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); } -- cgit