From a7522d9fc07ab06680853104d52dbbf90146b458 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Sun, 20 Jan 2013 22:35:31 +1100 Subject: - markus@cvs.openbsd.org 2013/01/19 12:34:55 [krl.c] RB_INSERT does not remove existing elments; ok djm@ --- ChangeLog | 3 +++ krl.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 518f441d6..43cedb63e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -21,6 +21,9 @@ - jmc@cvs.openbsd.org 2013/01/19 07:13:25 [ssh-keygen.1] fix some formatting; ok djm + - markus@cvs.openbsd.org 2013/01/19 12:34:55 + [krl.c] + RB_INSERT does not remove existing elments; ok djm@ 20130118 - (djm) OpenBSD CVS Sync diff --git a/krl.c b/krl.c index ca2010a77..b09f2dc11 100644 --- a/krl.c +++ b/krl.c @@ -14,7 +14,7 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $OpenBSD: krl.c,v 1.3 2013/01/18 03:00:32 djm Exp $ */ +/* $OpenBSD: krl.c,v 1.4 2013/01/19 12:34:55 markus Exp $ */ #include "includes.h" @@ -252,7 +252,7 @@ insert_serial_range(struct revoked_serial_tree *rt, u_int64_t lo, u_int64_t hi) if (ers != NULL) { KRL_DBG(("%s: bad: ers != NULL", __func__)); /* Shouldn't happen */ - free(ers); + free(irs); return -1; } ers = irs; -- cgit v1.2.3