diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2008-06-11 01:43:36 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2008-06-11 01:43:36 +0000 |
commit | 7b4fc3168796adde3a0cf87caa67123e9380372c (patch) | |
tree | 60cd7a3624b49cd125d2b8951d85fc9926c26bb4 /usr.bin | |
parent | 1a1b43b3dabac74b320940db3c70e89e7fa26348 (diff) |
ofd is being closed in cvs_file_free(), no need to close it ourselfs
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/cvs/admin.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/cvs/admin.c b/usr.bin/cvs/admin.c index 92bd0e7f5e1..92a29709248 100644 --- a/usr.bin/cvs/admin.c +++ b/usr.bin/cvs/admin.c @@ -1,4 +1,4 @@ -/* $OpenBSD: admin.c,v 1.59 2008/05/22 15:45:01 tobias Exp $ */ +/* $OpenBSD: admin.c,v 1.60 2008/06/11 01:43:35 joris Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * Copyright (c) 2005 Joris Vink <joris@openbsd.org> @@ -263,8 +263,6 @@ cvs_admin_local(struct cvs_file *cf) TAILQ_FOREACH(acp, &(ocf->file_rcs->rf_access), ra_list) rcs_access_add(cf->file_rcs, acp->ra_name); - (void)close(ofd); - cvs_file_free(ocf); } |