mirror of
git://git.gnupg.org/gnupg.git
synced 2025-03-12 23:01:14 +01:00
2006-07-29 Marcus Brinkmann <marcus@g10code.de>
* secmem.c (init_pool): Close FD after establishing the mapping.
This commit is contained in:
parent
f19e8892a2
commit
bd5aa4864d
@ -1,3 +1,7 @@
|
||||
2006-07-29 Marcus Brinkmann <marcus@g10code.de>
|
||||
|
||||
* secmem.c (init_pool): Close FD after establishing the mapping.
|
||||
|
||||
2006-07-20 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* http.c (send_request): A zero-length proxy is the same as no
|
||||
|
@ -247,6 +247,7 @@ init_pool( size_t n)
|
||||
else {
|
||||
pool = mmap( 0, poolsize, PROT_READ|PROT_WRITE,
|
||||
MAP_PRIVATE, fd, 0);
|
||||
close (fd);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user