diff options
Diffstat (limited to 'nsswitch/libwbclient/wbc_sid.c')
-rw-r--r-- | nsswitch/libwbclient/wbc_sid.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nsswitch/libwbclient/wbc_sid.c b/nsswitch/libwbclient/wbc_sid.c index 091a550bad..5687132427 100644 --- a/nsswitch/libwbclient/wbc_sid.c +++ b/nsswitch/libwbclient/wbc_sid.c @@ -782,6 +782,7 @@ wbcErr wbcGetDisplayName(const struct wbcDomainSid *sid, name = talloc_strdup(NULL, pwd->pw_gecos); BAIL_ON_PTR_ERROR(name, wbc_status); + wbcFreeMemory(pwd); } wbc_status = WBC_ERR_SUCCESS; |