1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

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

counted struct. Doh !
Jeremy.
This commit is contained in:
Jeremy Allison 2006-09-06 04:41:43 +00:00 committed by Gerald (Jerry) Carter
parent fb755e83ee
commit 8c78386e8d

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