1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

r18128: Don't forget to set the ref count to 1 on a reference

counted struct. Doh !
Jeremy.
(This used to be commit 8c78386e8da72108551cff72a6cc9da89264ddee)
This commit is contained in:
Jeremy Allison 2006-09-06 04:41:43 +00:00 committed by Gerald (Jerry) Carter
parent 8b5bef1ad1
commit bf7fcdffa3

View File

@ -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) {