diff options
author | 2016-10-13 20:51:25 +0000 | |
---|---|---|
committer | 2016-10-13 20:51:25 +0000 | |
commit | 53ce21770636b2a876ba8b08f34797235b43ecb2 (patch) | |
tree | 9f80d30bad7945b1874d8c544a54fdefc1020744 /usr.bin/cvs/diff.c | |
parent | Fix revision lookups for branches. Properly perform a revision (diff) | |
download | wireguard-openbsd-53ce21770636b2a876ba8b08f34797235b43ecb2.tar.xz wireguard-openbsd-53ce21770636b2a876ba8b08f34797235b43ecb2.zip |
rcsnum_free() -> free() cleanups. From Michael W. Bombardieri.
OK millert@
Diffstat (limited to 'usr.bin/cvs/diff.c')
-rw-r--r-- | usr.bin/cvs/diff.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/cvs/diff.c b/usr.bin/cvs/diff.c index 7f4f575385d..d9b3c83452a 100644 --- a/usr.bin/cvs/diff.c +++ b/usr.bin/cvs/diff.c @@ -1,4 +1,4 @@ -/* $OpenBSD: diff.c,v 1.161 2015/11/05 09:48:21 nicm Exp $ */ +/* $OpenBSD: diff.c,v 1.162 2016/10/13 20:51:25 fcambus Exp $ */ /* * Copyright (c) 2008 Tobias Stoeckmann <tobias@openbsd.org> * Copyright (c) 2006 Joris Vink <joris@openbsd.org> @@ -407,7 +407,7 @@ cvs_diff_local(struct cvs_file *cf) /* -f is not allowed for unknown symbols */ if ((diff_rev1 = rcsnum_parse(rev1)) == NULL) fatal("no such tag %s", rev1); - rcsnum_free(diff_rev1); + free(diff_rev1); diff_rev1 = cf->file_rcs->rf_head; } @@ -444,7 +444,7 @@ cvs_diff_local(struct cvs_file *cf) /* -f is not allowed for unknown symbols */ if ((diff_rev2 = rcsnum_parse(rev2)) == NULL) fatal("no such tag %s", rev2); - rcsnum_free(diff_rev2); + free(diff_rev2); diff_rev2 = cf->file_rcs->rf_head; } |