diff options
author | Xavier Santolaria <xsa@cvs.openbsd.org> | 2006-12-20 16:40:28 +0000 |
---|---|---|
committer | Xavier Santolaria <xsa@cvs.openbsd.org> | 2006-12-20 16:40:28 +0000 |
commit | ba2965b1fe0d0dcfa1c82f33254b25abdd0717cf (patch) | |
tree | 822cd29489d867ed35ae6ac894fe81fe58f70628 /usr.bin/cvs | |
parent | c66a93b29a5f79a5b03b3aae324907f3251e389c (diff) |
missing xfree();
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r-- | usr.bin/cvs/add.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/cvs/add.c b/usr.bin/cvs/add.c index 0f56c6b84b0..24b70a3a28f 100644 --- a/usr.bin/cvs/add.c +++ b/usr.bin/cvs/add.c @@ -1,4 +1,4 @@ -/* $OpenBSD: add.c,v 1.64 2006/12/19 15:15:14 joris Exp $ */ +/* $OpenBSD: add.c,v 1.65 2006/12/20 16:40:27 xsa Exp $ */ /* * Copyright (c) 2006 Joris Vink <joris@openbsd.org> * Copyright (c) 2005, 2006 Xavier Santolaria <xsa@openbsd.org> @@ -117,6 +117,7 @@ cvs_add_entry(struct cvs_file *cf) entlist = cvs_ent_open(cf->file_wd); cvs_ent_add(entlist, entry); cvs_ent_close(entlist, ENT_SYNC); + xfree(entry); } else { add_entry(cf); } |