From a6e532442b26f6447c60c89b5d55fc5673d208e4 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Thu, 4 Feb 2010 12:39:18 +0100 Subject: [PATCH] Initialize local_ntp_tx in ntp_core This fixes another valgrind error. --- ntp_core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ntp_core.c b/ntp_core.c index 566389b..7c8dd70 100644 --- a/ntp_core.c +++ b/ntp_core.c @@ -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;