diff options
author | 2007-01-07 02:44:13 +0000 | |
---|---|---|
committer | 2007-01-07 02:44:13 +0000 | |
commit | 4c65ce216ab301da8852da75c0a45f6c6a3e9029 (patch) | |
tree | 4b169dd952488c2e34bce20892e67d2b50454895 /usr.bin/cvs/commit.c | |
parent | rewrite of the logmessage code, which allows you to (diff) | |
download | wireguard-openbsd-4c65ce216ab301da8852da75c0a45f6c6a3e9029.tar.xz wireguard-openbsd-4c65ce216ab301da8852da75c0a45f6c6a3e9029.zip |
free the filelists we pass to cvs_logmsg_create()
after we obtain our logmessage.
Diffstat (limited to 'usr.bin/cvs/commit.c')
-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; |