diff options
-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); } |