fix uninitialized bindref_time (found with valgrind)

This commit is contained in:
Ralf Haferkamp 2011-05-26 13:48:11 +02:00
parent 200af921f4
commit 9e80eab803

View File

@ -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;