diff options
author | Volker Lendecke <vl@samba.org> | 2010-04-04 12:12:12 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-04-04 12:51:24 +0200 |
commit | 9b1f9da43617d4bd370d5f18fea9b2533e417685 (patch) | |
tree | 76669d35c022fc6b468ed7a1952a7524e848127b | |
parent | b198283f1ff7c268f604479290c7e6fb555a6267 (diff) | |
download | samba-9b1f9da43617d4bd370d5f18fea9b2533e417685.tar.gz samba-9b1f9da43617d4bd370d5f18fea9b2533e417685.tar.bz2 samba-9b1f9da43617d4bd370d5f18fea9b2533e417685.zip |
libwbclient: Streamline result processing of wbcCredentialCache()
-rw-r--r-- | nsswitch/libwbclient/wbc_pam.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/nsswitch/libwbclient/wbc_pam.c b/nsswitch/libwbclient/wbc_pam.c index c914d597f0..b35284b243 100644 --- a/nsswitch/libwbclient/wbc_pam.c +++ b/nsswitch/libwbclient/wbc_pam.c @@ -1223,11 +1223,9 @@ wbcErr wbcCredentialCache(struct wbcCredentialCacheParams *params, goto fail; } - TALLOC_FREE(request.extra_data.data); - winbindd_free_response(&response); *info = result; - return WBC_ERR_SUCCESS; - + result = NULL; + status = WBC_ERR_SUCCESS; fail: TALLOC_FREE(request.extra_data.data); winbindd_free_response(&response); |