]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
[Bug 1451] CID 115: sntp leaks KoD entry when updating existing
authorDave Hart <hart@ntp.org>
Sun, 3 Jan 2010 21:52:33 +0000 (21:52 +0000)
committerDave Hart <hart@ntp.org>
Sun, 3 Jan 2010 21:52:33 +0000 (21:52 +0000)
  entry.

bk: 4b4111a1hR1ongZfg3kL0j1RUSsMZw

ChangeLog
sntp/kod_management.c

index a7f7d354ce7fe5cc2abbe5375d52267248631132..434a1cddfa489ade5e4d54c86364a63bc9bef196 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,9 +1,10 @@
 ---
 
-* [Bug 1445] IRIX does not have -lcap or support linux capabilities.
-* [Bug 1440] Update configure.ac to support kfreebsd.
-* [Bug 1439] .texi generation must wait until after binary is linked.
 * [Bug 1127] Properly check the return of X590_verify() - missed one.
+* [Bug 1439] .texi generation must wait until after binary is linked.
+* [Bug 1440] Update configure.ac to support kfreebsd.
+* [Bug 1445] IRIX does not have -lcap or support linux capabilities.
+* [Bug 1451] CID 115: sntp leaks KoD entry when updating existing.
 
 ---
 (4.2.6p1-RC2) 2009/12/25 Released by Harlan Stenn <stenn@ntp.org>
index d7aca5200f9cab6ee53f6ba131e2c3b9eab2c3f9..878a2a0c1d98670e77f014918dc3c061ffc1f187 100644 (file)
@@ -73,6 +73,7 @@ add_entry(
        if (n < kod_db_cnt &&
            0 == strcmp(kod_db[n]->hostname, pke->hostname)) {
                kod_db[n]->timestamp = pke->timestamp;
+               free(pke);
                return;
        }