mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 08:09:34 -05:00
fix uninitialized bindref_time (found with valgrind)
This commit is contained in:
parent
200af921f4
commit
9e80eab803
1 changed files with 1 additions and 0 deletions
|
|
@ -1552,6 +1552,7 @@ add_query(
|
||||||
}
|
}
|
||||||
new_cached_query->expiry_time = now + ttl;
|
new_cached_query->expiry_time = now + ttl;
|
||||||
new_cached_query->refresh_time = ttr;
|
new_cached_query->refresh_time = ttr;
|
||||||
|
new_cached_query->bindref_time = 0;
|
||||||
|
|
||||||
new_cached_query->answerable_cnt = 0;
|
new_cached_query->answerable_cnt = 0;
|
||||||
new_cached_query->refcnt = 1;
|
new_cached_query->refcnt = 1;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue