This website works better with JavaScript.
Home
Explore
Register
Sign In
Fincer
/
openntpd-openbsd
mirror of
https://github.com/Fincer/openntpd-openbsd
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
61
Wiki
Activity
Browse Source
fix memleak in imsg_read() when hitting the fd reserve check
ok millert@, mikeb@, lteo@
OPENBSD_5_3
gilles
12 years ago
parent
128fa55f11
commit
b8be040212
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
src/lib/libutil/imsg.c
+ 2
- 1
src/lib/libutil/imsg.c
View File
@ -1,4 +1,4 @@
/* $OpenBSD: imsg.c,v 1.
3 2012/12/19 13:37:12 reyk
Exp $ */
/* $OpenBSD: imsg.c,v 1.
4 2013/02/01 15:22:18 gilles
Exp $ */
/*
*
Copyright
(
c
)
2003
,
2004
Henning
Brauer
<
henning
@
openbsd
.
org
>
@ -74,6 +74,7 @@ again:
(
CMSG_SPACE
(
sizeof
(
int
)
)
-
CMSG_SPACE
(
0
)
)
/
sizeof
(
int
)
>
=
getdtablesize
(
)
)
{
errno
=
EAGAIN
;
free
(
ifd
)
;
return
(
-
1
)
;
}
Write
Preview
Loading…
Cancel
Save