git.samba.org
/
tprouty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb755e8
)
r18128: Don't forget to set the ref count to 1 on a reference
author
Jeremy Allison
<jra@samba.org>
Wed, 6 Sep 2006 04:41:43 +0000
(
04:41
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:43:29 +0000
(11:43 -0500)
counted struct. Doh !
Jeremy.
source/nsswitch/winbindd_cred_cache.c
patch
|
blob
|
history
diff --git
a/source/nsswitch/winbindd_cred_cache.c
b/source/nsswitch/winbindd_cred_cache.c
index ddf4de6754c8e236958dcb1b6a18fc811607a813..90ac252dfa8d6a6a036484232883be59ff2c827f 100644
(file)
--- a/
source/nsswitch/winbindd_cred_cache.c
+++ b/
source/nsswitch/winbindd_cred_cache.c
@@
-247,6
+247,7
@@
NTSTATUS add_ccache_to_list(const char *princ_name,
entry->create_time = create_time;
entry->renew_until = renew_until;
entry->uid = uid;
+ entry->ref_count = 1;
if (schedule_refresh_event && renew_until > 0) {