svn commit: samba r18128 - in branches/SAMBA_3_0/source/nsswitch: .
jra at samba.org
jra at samba.org
Wed Sep 6 04:41:44 GMT 2006
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) {
More information about the samba-cvs
mailing list