pgsql: Fix memory leak in xlogreader facility. - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Fix memory leak in xlogreader facility.
Date
Msg-id E1ZJkSb-00022c-Jh@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/61a65c53bd3e48e7ff7661a528d1791dfd956957

Modified Files
--------------
src/backend/access/transam/xlogreader.c |    7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Fix memory leak in xlogreader facility.
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Fix handling of all-zero pages in SP-GiST vacuum.