From: Coverity Build Date: Thu, 3 Dec 2015 09:22:22 +0000 (-0800) Subject: CID 1341538: Memory leak in tests/ntpd/ntp_prio_q.c:262. HStenn. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d9c6b013e8025895f0401126f2636ac1845d058;p=thirdparty%2Fntp.git CID 1341538: Memory leak in tests/ntpd/ntp_prio_q.c:262. HStenn. bk: 566009ceDfWkKxlQ6ZEXWgmQdtaRfA --- diff --git a/ChangeLog b/ChangeLog index 1a23ab1ba..43edebf6a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,7 @@ * [Sec 2956] small-step/big-step. Close the panic gate earlier. HStenn. * CID 1339955: Free allocated memory in caljulian test. HStenn. * CID 1339962: Explicitly initialize variable in caljulian test. HStenn. +* CID 1341538: Memory leak in tests/ntpd/ntp_prio_q.c:262. HStenn. * [Bug 2829] Look at pipe_fds in ntpd.c (did so. perlinger@ntp.org) * [Bug 2887] stratum -1 config results as showing value 99 - fudge stratum only accepts values [0..16]. perlinger@ntp.org diff --git a/tests/ntpd/ntp_prio_q.c b/tests/ntpd/ntp_prio_q.c index c2d4f76f0..4b27157a9 100644 --- a/tests/ntpd/ntp_prio_q.c +++ b/tests/ntpd/ntp_prio_q.c @@ -251,6 +251,7 @@ test_AppendQueues(void) { free_node(e3_ptr); free_node(e4_ptr); free_node(e5_ptr); + free_node(e6_ptr); TEST_ASSERT_EQUAL(0, get_no_of_elements(q4));