diff options
author | 2008-06-11 01:43:35 +0000 | |
---|---|---|
committer | 2008-06-11 01:43:35 +0000 | |
commit | 75f2a7c4f1fb020fe6f82f96a198a3ba34f54518 (patch) | |
tree | 46e94b49d6e22fa90166065e5a39f5055257bb37 | |
parent | implement the VIDIOC_STREAMOFF ioctl and remove some unused code (diff) | |
download | wireguard-openbsd-75f2a7c4f1fb020fe6f82f96a198a3ba34f54518.tar.xz wireguard-openbsd-75f2a7c4f1fb020fe6f82f96a198a3ba34f54518.zip |
ofd is being closed in cvs_file_free(), no need to close it ourselfs
-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); } |