artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11b3811
)
Close file descriptor on an exit path.
author
fcambus
<fcambus@openbsd.org>
Thu, 22 Jun 2017 20:38:32 +0000
(20:38 +0000)
committer
fcambus
<fcambus@openbsd.org>
Thu, 22 Jun 2017 20:38:32 +0000
(20:38 +0000)
OK gsoares@
usr.sbin/wsfontload/wsfontload.c
patch
|
blob
|
history
diff --git
a/usr.sbin/wsfontload/wsfontload.c
b/usr.sbin/wsfontload/wsfontload.c
index
ecf37d7
..
7d73dc0
100644
(file)
--- a/
usr.sbin/wsfontload/wsfontload.c
+++ b/
usr.sbin/wsfontload/wsfontload.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: wsfontload.c,v 1.1
8 2017/06/17 19:27:54
fcambus Exp $ */
+/* $OpenBSD: wsfontload.c,v 1.1
9 2017/06/22 20:38:32
fcambus Exp $ */
/* $NetBSD: wsfontload.c,v 1.2 2000/01/05 18:46:43 ad Exp $ */
/*
@@
-166,6
+166,7
@@
main(int argc, char *argv[])
i++;
} while(res == 0);
+ close(wsfd);
return (0);
}