projects
/
pgpool1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
025cbb7
)
Fix file dscriptor leak in pool_close(). This bug was introduced in
author
Tatsuo Ishii
<ishii at sraoss.co.jp>
Sat, 30 Jul 2005 12:30:20 +0000
(12:30 +0000)
committer
Tatsuo Ishii
<ishii at sraoss.co.jp>
Sat, 30 Jul 2005 12:30:20 +0000
(12:30 +0000)
pgpool 2.6.1.
pool_stream.c
patch
|
blob
|
blame
|
history
diff --git
a/pool_stream.c
b/pool_stream.c
index 58f452768543a1950a1d7749aebd313f400b97ed..f2088ddd092375fa13bd4f0631ea6a39fe8d427b 100644
(file)
--- a/
pool_stream.c
+++ b/
pool_stream.c
@@
-91,6
+91,7
@@
POOL_CONNECTION *pool_open(int fd)
*/
void pool_close(POOL_CONNECTION *cp)
{
+ close(cp->fd);
free(cp->wbuf);
free(cp->hp);
if (cp->sbuf)