Initialize local_ntp_tx in ntp_core
This fixes another valgrind error.
This commit is contained in:
parent
a123a12f59
commit
a6e532442b
1 changed files with 2 additions and 0 deletions
|
@ -326,6 +326,8 @@ create_instance(NTP_Remote_Address *remote_addr, NTP_Mode mode, SourceParameters
|
||||||
result->local_rx.tv_usec = 0;
|
result->local_rx.tv_usec = 0;
|
||||||
result->local_tx.tv_sec = 0;
|
result->local_tx.tv_sec = 0;
|
||||||
result->local_tx.tv_usec = 0;
|
result->local_tx.tv_usec = 0;
|
||||||
|
result->local_ntp_tx.hi = 0;
|
||||||
|
result->local_ntp_tx.lo = 0;
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue