[krl.c]
     RB_INSERT does not remove existing elments; ok djm@
This commit is contained in:
Damien Miller 2013-01-20 22:35:31 +11:00
parent a0a7ee8bf4
commit a7522d9fc0
2 changed files with 5 additions and 2 deletions

View File

@ -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

4
krl.c
View File

@ -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;