summaryrefslogtreecommitdiffstats
path: root/usr.bin/cvs/annotate.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2015-11-05 09:48:21 +0000
committernicm <nicm@openbsd.org>2015-11-05 09:48:21 +0000
commit397ddb8a3f80a7c0fc96b9834bf9a6841845ed3c (patch)
tree06e55ca92968a883778543a5aed67fa1e57f9996 /usr.bin/cvs/annotate.c
parent"commandline" -> "command line", since there are so few examples (diff)
downloadwireguard-openbsd-397ddb8a3f80a7c0fc96b9834bf9a6841845ed3c.tar.xz
wireguard-openbsd-397ddb8a3f80a7c0fc96b9834bf9a6841845ed3c.zip
Remove xfree(), like already done for RCS. From Michael W Bombardieri,
ok mmcc
Diffstat (limited to 'usr.bin/cvs/annotate.c')
-rw-r--r--usr.bin/cvs/annotate.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/cvs/annotate.c b/usr.bin/cvs/annotate.c
index 8aaa8b3a3e5..07b5eb7bc29 100644
--- a/usr.bin/cvs/annotate.c
+++ b/usr.bin/cvs/annotate.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: annotate.c,v 1.64 2015/01/16 06:40:06 deraadt Exp $ */
+/* $OpenBSD: annotate.c,v 1.65 2015/11/05 09:48:21 nicm Exp $ */
/*
* Copyright (c) 2007 Tobias Stoeckmann <tobias@openbsd.org>
* Copyright (c) 2006 Xavier Santolaria <xsa@openbsd.org>
@@ -235,7 +235,7 @@ cvs_annotate_local(struct cvs_file *cf)
p[line->l_len] = '\0';
if (line->l_needsfree)
- xfree(line->l_line);
+ free(line->l_line);
line->l_line = p;
line->l_len++;
line->l_needsfree = 1;
@@ -244,9 +244,9 @@ cvs_annotate_local(struct cvs_file *cf)
line->l_delta->rd_author, date, line->l_line);
if (line->l_needsfree)
- xfree(line->l_line);
- xfree(line);
+ free(line->l_line);
+ free(line);
}
- xfree(alines);
+ free(alines);
}