summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2005-03-07 16:25:49 +0000
committerJoris Vink <joris@cvs.openbsd.org>2005-03-07 16:25:49 +0000
commit088ee1a7ba3fda27f07a2aa32ce6e91d88122646 (patch)
treeba30904304e237c2cc929462ead71534f1950dfb
parent7c827187f2c6eb5177fe7b0de5b1b642f0eb5275 (diff)
free rcs when we are done using it.
ok xsa@
-rw-r--r--usr.bin/cvs/admin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/cvs/admin.c b/usr.bin/cvs/admin.c
index 032aabb750a..c93d2ad5a2e 100644
--- a/usr.bin/cvs/admin.c
+++ b/usr.bin/cvs/admin.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: admin.c,v 1.1 2005/03/06 21:09:00 joris Exp $ */
+/* $OpenBSD: admin.c,v 1.2 2005/03/07 16:25:48 joris Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* Copyright (c) 2005 Joris Vink <joris@openbsd.org>
@@ -188,6 +188,7 @@ cvs_admin(int argc, char **argv)
replace_msg);
return (EX_PROTOCOL);
}
+ rcsnum_free(rcs);
*q = ':';
}