diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2012-07-31 09:00:23 -0400 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2012-07-31 11:02:21 -0400 |
commit | 776bdc4c5c019a9556a6622a01a406c6c0fec4c9 (patch) | |
tree | b36e3eb7c876f522b1d33f89933e038e29446123 /src/backend/access/gist/gistproc.c | |
parent | 99dd2a390f8b0129092fe62a303b0cd1df547691 (diff) | |
download | postgresql-776bdc4c5c019a9556a6622a01a406c6c0fec4c9.tar.gz postgresql-776bdc4c5c019a9556a6622a01a406c6c0fec4c9.zip |
Fix memory and file descriptor leaks in pg_receivexlog/pg_basebackup
When the internal loop mode was added, freeing memory and closing
filedescriptors before returning became important, and a few cases
in the code missed that.
This is a backpatch of commit 058a050e to the 9.2 branch, which seems to
have been neglected (in error, because the bugs it fixes were introduced
in commit 16282ae6 which is present in both master and 9.2).
Fujii Masao
Diffstat (limited to 'src/backend/access/gist/gistproc.c')
0 files changed, 0 insertions, 0 deletions