diff options
Diffstat (limited to 'nsswitch/libwbclient')
-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); |