diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2013-01-19 12:34:56 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2013-01-19 12:34:56 +0000 |
commit | 7d4b9e6b7b7955d157fcac61e91496492d46ef60 (patch) | |
tree | 8bf8b5bb04fedb00ea22fbe9ed92071ab0db471f /usr.bin/ssh/krl.c | |
parent | 81062ba3ece7258008b25b49e75380b12b0e2b45 (diff) |
RB_INSERT does not remove existing elments; ok djm@
Diffstat (limited to 'usr.bin/ssh/krl.c')
-rw-r--r-- | usr.bin/ssh/krl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/krl.c b/usr.bin/ssh/krl.c index 945e71ab07e..00c57f1426c 100644 --- a/usr.bin/ssh/krl.c +++ b/usr.bin/ssh/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 <sys/types.h> #include <sys/param.h> @@ -250,7 +250,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; |