summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/rcsnum.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2015-11-05 09:48:22 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2015-11-05 09:48:22 +0000
commit422d354f8c90fea170ce40abd4f03d0c82c895e9 (patch)
treefc13c077f8c2334c800342385cf3e1c859db1b4c /usr.bin/cvs/rcsnum.c
parent9d2b75ad9fc8b26c968abb5394cbc39c9008d41b (diff)
Remove xfree(), like already done for RCS. From Michael W Bombardieri,
ok mmcc
Diffstat (limited to 'usr.bin/cvs/rcsnum.c')
-rw-r--r--usr.bin/cvs/rcsnum.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/cvs/rcsnum.c b/usr.bin/cvs/rcsnum.c
index cd35a3b16da..b33fa0a5ba5 100644
--- a/usr.bin/cvs/rcsnum.c
+++ b/usr.bin/cvs/rcsnum.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcsnum.c,v 1.56 2015/01/16 06:40:07 deraadt Exp $ */
+/* $OpenBSD: rcsnum.c,v 1.57 2015/11/05 09:48:21 nicm Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -25,6 +25,7 @@
*/
#include <ctype.h>
+#include <stdlib.h>
#include <string.h>
#include "cvs.h"
@@ -96,7 +97,7 @@ rcsnum_parse(const char *str)
void
rcsnum_free(RCSNUM *rn)
{
- xfree(rn);
+ free(rn);
}
/*