2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

initalise sock->cond

This commit is contained in:
Mark Andrews
2021-05-11 14:01:37 +10:00
committed by Ondřej Surý
parent 4efd1e2ac8
commit 0f6ae9000a

View File

@@ -1485,6 +1485,7 @@ isc___nmsocket_init(isc_nmsocket_t *sock, isc_nm_t *mgr, isc_nmsocket_type type,
}
isc_mutex_init(&sock->lock);
isc_condition_init(&sock->cond);
isc_condition_init(&sock->scond);
isc_refcount_init(&sock->references, 1);