]> 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:29:31 +0000 (18:29 +0300)
commit61a65c53bd3e48e7ff7661a528d1791dfd956957
tree04579b3a152768b8aca062e616d510055b5b2d9d
parent334445179c82ba304480ecbd00ae4237587e4baf
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