diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2007-01-07 02:44:14 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2007-01-07 02:44:14 +0000 |
commit | fecbbc69bad19546214903fdee75458defe4f592 (patch) | |
tree | 1331978c522e4f43ef105d0225339a38b52e1737 /usr.bin/cvs | |
parent | 94558677c94a5d03d899a80043df23a730f62100 (diff) |
free the filelists we pass to cvs_logmsg_create()
after we obtain our logmessage.
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r-- | usr.bin/cvs/commit.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/cvs/commit.c b/usr.bin/cvs/commit.c index 68e21a047ae..823cf424fc0 100644 --- a/usr.bin/cvs/commit.c +++ b/usr.bin/cvs/commit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: commit.c,v 1.86 2007/01/07 02:39:24 joris Exp $ */ +/* $OpenBSD: commit.c,v 1.87 2007/01/07 02:44:13 joris Exp $ */ /* * Copyright (c) 2006 Joris Vink <joris@openbsd.org> * Copyright (c) 2006 Xavier Santolaria <xsa@openbsd.org> @@ -115,6 +115,10 @@ cvs_commit(int argc, char **argv) if (logmsg == NULL) fatal("This shouldnt happen, honestly!"); + cvs_file_freelist(&files_modified); + cvs_file_freelist(&files_removed); + cvs_file_freelist(&files_added); + if (current_cvsroot->cr_method != CVS_METHOD_LOCAL) { cr.fileproc = cvs_client_sendfile; |