diff options
author | Volker Lendecke <vl@samba.org> | 2008-06-17 13:00:13 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2008-06-17 13:13:11 +0200 |
commit | 61608cc9cb14a45cd3bb492c94026a5f2eb631e6 (patch) | |
tree | 49d6ecb03db973c53271e292ef1564b462cb5294 /source/nsswitch | |
parent | 628b750b4366a5806cf159232e4204fd1602e191 (diff) | |
download | samba-61608cc9cb14a45cd3bb492c94026a5f2eb631e6.tar.gz |
Fix a memleak in wbcAuthenticateUserEx()
(cherry picked from commit 72b381689af9cae83ab08532cffd0188f2da4807)
Diffstat (limited to 'source/nsswitch')
-rw-r--r-- | source/nsswitch/libwbclient/wbc_pam.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/nsswitch/libwbclient/wbc_pam.c b/source/nsswitch/libwbclient/wbc_pam.c index 3e0b6a5a0a2..5427ddb46a1 100644 --- a/source/nsswitch/libwbclient/wbc_pam.c +++ b/source/nsswitch/libwbclient/wbc_pam.c @@ -416,6 +416,8 @@ wbcErr wbcAuthenticateUserEx(const struct wbcAuthUserParams *params, } done: + if (response.extra_data.data) + free(response.extra_data.data); return wbc_status; } |