mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 09:25:06 -05:00
Initialize local_ntp_tx in ntp_core
This fixes another valgrind error.
This commit is contained in:
@@ -326,6 +326,8 @@ create_instance(NTP_Remote_Address *remote_addr, NTP_Mode mode, SourceParameters
|
||||
result->local_rx.tv_usec = 0;
|
||||
result->local_tx.tv_sec = 0;
|
||||
result->local_tx.tv_usec = 0;
|
||||
result->local_ntp_tx.hi = 0;
|
||||
result->local_ntp_tx.lo = 0;
|
||||
|
||||
return result;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user