summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2007-08-29 09:32:14 +0000
committerJoris Vink <joris@cvs.openbsd.org>2007-08-29 09:32:14 +0000
commit500731968a56f009defd90539b7daad9f9739d0d (patch)
treeb10f298be4a48c1e2dfeefbd1f1efdb491223ab9 /usr.bin
parent5bff7fc84295a6f21c226282a5f8cc1fe4067b09 (diff)
missing xfree();
from Igor Zinovik, thanks.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/cvs/add.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/cvs/add.c b/usr.bin/cvs/add.c
index 36aa13e556c..242df4a0464 100644
--- a/usr.bin/cvs/add.c
+++ b/usr.bin/cvs/add.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: add.c,v 1.78 2007/06/28 21:38:09 xsa Exp $ */
+/* $OpenBSD: add.c,v 1.79 2007/08/29 09:32:13 joris Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
* Copyright (c) 2005, 2006 Xavier Santolaria <xsa@openbsd.org>
@@ -217,6 +217,7 @@ add_directory(struct cvs_file *cf)
entlist = cvs_ent_open(cf->file_wd);
cvs_ent_add(entlist, p);
cvs_ent_close(entlist, ENT_SYNC);
+ xfree(p);
}
}