summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/checkout.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/cvs/checkout.c')
-rw-r--r--usr.bin/cvs/checkout.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/cvs/checkout.c b/usr.bin/cvs/checkout.c
index 99e1295a94f..b77b24e3b26 100644
--- a/usr.bin/cvs/checkout.c
+++ b/usr.bin/cvs/checkout.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: checkout.c,v 1.73 2007/01/13 15:45:59 joris Exp $ */
+/* $OpenBSD: checkout.c,v 1.74 2007/01/13 15:56:15 joris Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -274,6 +274,7 @@ cvs_checkout_file(struct cvs_file *cf, RCSNUM *rnum, int flags)
checkout_write_revision(cf->file_rcs, rnum, template);
cvs_remote_send_file(template);
(void)unlink(template);
+ xfree(template);
}
if (p != NULL)