summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/cvs/util.c')
-rw-r--r--usr.bin/cvs/util.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/usr.bin/cvs/util.c b/usr.bin/cvs/util.c
index a2ea80e822c..c9a37b6bd1e 100644
--- a/usr.bin/cvs/util.c
+++ b/usr.bin/cvs/util.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: util.c,v 1.128 2008/01/31 22:09:05 xsa Exp $ */
+/* $OpenBSD: util.c,v 1.129 2008/01/31 22:11:38 joris Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* Copyright (c) 2005, 2006 Joris Vink <joris@openbsd.org>
@@ -790,14 +790,12 @@ cvs_revision_select(RCSFILE *file, char *range)
nrev++;
}
}
- }
-
- cvs_argv_destroy(revargv);
- if (lnum != NULL)
rcsnum_free(lnum);
- if (rnum != NULL)
rcsnum_free(rnum);
+ }
+
+ cvs_argv_destroy(revargv);
return (nrev);
}