]> granicus.if.org Git - postgresql/commit
Fix memory leak in xlogreader facility.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 27 Jul 2015 15:27:27 +0000 (18:27 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 27 Jul 2015 15:30:27 +0000 (18:30 +0300)
commit03a0a3532b47b2a634cd2700d49edc086af748a0
tree03140de756c6ad303213f503697596b9b0d194c9
parent202aea62a84135256c6aa394af2c4dbfa1700c85
Fix memory leak in xlogreader facility.

XLogReaderFree failed to free the per-block data buffers, when they
happened to not be used by the latest read WAL record.

Michael Paquier. Backpatch to 9.5, where the per-block buffers were added.
src/backend/access/transam/xlogreader.c