diff options
author | Volker Lendecke <vl@samba.org> | 2008-06-17 13:00:13 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-06-17 13:10:18 +0200 |
commit | 20110ee5f181168dc1cbc08b7c22820d68204960 (patch) | |
tree | ae814a7d95038e86a9a3c71219bd4ceae36a6b03 | |
parent | 80c2e8295a00c3d88372b55b81d03b455feb69b2 (diff) | |
download | samba-20110ee5f181168dc1cbc08b7c22820d68204960.tar.gz |
Fix a memleak in wbcAuthenticateUserEx()
(cherry picked from commit 72b381689af9cae83ab08532cffd0188f2da4807)
-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 c109625abf4..293f71c3479 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; } |