git.samba.org
/
anatoliy
/
anatoliy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b198283
)
libwbclient: Streamline result processing of wbcCredentialCache()
author
Volker Lendecke
<vl@samba.org>
Sun, 4 Apr 2010 10:12:12 +0000
(12:12 +0200)
committer
Volker Lendecke
<vl@samba.org>
Sun, 4 Apr 2010 10:51:24 +0000
(12:51 +0200)
nsswitch/libwbclient/wbc_pam.c
patch
|
blob
|
history
diff --git
a/nsswitch/libwbclient/wbc_pam.c
b/nsswitch/libwbclient/wbc_pam.c
index c914d597f074f4b5f530ae80261b4100774c9539..b35284b24394fc740490f1ef286c605f6cf09d18 100644
(file)
--- 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;
- re
turn WBC_ERR_SUCCESS
;
-
+ re
sult = NULL
;
+ status = WBC_ERR_SUCCESS;
fail:
TALLOC_FREE(request.extra_data.data);
winbindd_free_response(&response);