Author: jra
Date: 2006-09-06 04:41:43 +0000 (Wed, 06 Sep 2006)
New Revision: 18128

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18128

Log:
Don't forget to set the ref count to 1 on a reference
counted struct. Doh !
Jeremy.

Modified:
   branches/SAMBA_3_0/source/nsswitch/winbindd_cred_cache.c


Changeset:
Modified: branches/SAMBA_3_0/source/nsswitch/winbindd_cred_cache.c
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/winbindd_cred_cache.c    2006-09-06 
02:07:44 UTC (rev 18127)
+++ branches/SAMBA_3_0/source/nsswitch/winbindd_cred_cache.c    2006-09-06 
04:41:43 UTC (rev 18128)
@@ -247,6 +247,7 @@
        entry->create_time = create_time;
        entry->renew_until = renew_until;
        entry->uid = uid;
+       entry->ref_count = 1;
 
        if (schedule_refresh_event && renew_until > 0) {
 

Reply via email to