summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/root.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/cvs/root.c')
-rw-r--r--usr.bin/cvs/root.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/cvs/root.c b/usr.bin/cvs/root.c
index a4e58d37d9b..efadc8920b6 100644
--- a/usr.bin/cvs/root.c
+++ b/usr.bin/cvs/root.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: root.c,v 1.8 2004/07/30 01:49:24 jfb Exp $ */
+/* $OpenBSD: root.c,v 1.9 2004/08/02 22:45:57 jfb Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -233,6 +233,8 @@ cvsroot_free(struct cvsroot *root)
free(root->cr_str);
if (root->cr_buf != NULL)
free(root->cr_buf);
+ if (root->cr_version != NULL)
+ free(root->cr_version);
free(root);
}
}