From 8c78386e8da72108551cff72a6cc9da89264ddee Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 6 Sep 2006 04:41:43 +0000 Subject: [PATCH] r18128: Don't forget to set the ref count to 1 on a reference counted struct. Doh ! Jeremy. --- source/nsswitch/winbindd_cred_cache.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/nsswitch/winbindd_cred_cache.c b/source/nsswitch/winbindd_cred_cache.c index ddf4de6754c..90ac252dfa8 100644 --- 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) {