summaryrefslogtreecommitdiff
path: root/usr.bin/cvs
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2009-04-04 11:32:49 +0000
committerJoris Vink <joris@cvs.openbsd.org>2009-04-04 11:32:49 +0000
commitf0965cc27d55571082ea64b473fc3a303a805a2e (patch)
treedb5a5e3e6053cc3b337f2ca03804699b9556d2ad /usr.bin/cvs
parentf2cccafbbe264706cda47c7581c7880fecdb7231 (diff)
don't try to free stuff we shouldnt free, really.
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r--usr.bin/cvs/server.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/usr.bin/cvs/server.c b/usr.bin/cvs/server.c
index 97024e21e19..c49d1d3b804 100644
--- a/usr.bin/cvs/server.c
+++ b/usr.bin/cvs/server.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server.c,v 1.96 2009/04/04 11:29:57 joris Exp $ */
+/* $OpenBSD: server.c,v 1.97 2009/04/04 11:32:48 joris Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -836,11 +836,6 @@ cvs_server_exp_modules(char *module)
cvs_server_send_response("Module-expansion %s", fl->file_path);
cvs_server_send_response("ok");
- if (mo->mc_canfree == 1) {
- xfree(mo->mc_name);
- xfree(mo);
- }
-
server_argc--;
xfree(server_argv[1]);
server_argv[1] = NULL;