pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix minor memory leak in Standby startup
2+ messages / 1 participants
[nested] [flat]

* pgsql: Fix minor memory leak in Standby startup
@ 2016-09-08 10:16 Simon Riggs <simon@2ndQuadrant.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Simon Riggs @ 2016-09-08 10:16 UTC (permalink / raw)
  To: pgsql-committers

Fix minor memory leak in Standby startup

StandbyRecoverPreparedTransactions() leaked the buffer
used for two phase state file. This was leaked once
at startup and at every shutdown checkpoint seen.

Backpatch to 9.6

Stas Kelvich

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/67c6bd1ca3ce75778138bf4713444a5a6b46032e

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


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Fix minor memory leak in Standby startup
@ 2016-09-08 10:20 Simon Riggs <simon@2ndQuadrant.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Simon Riggs @ 2016-09-08 10:20 UTC (permalink / raw)
  To: pgsql-committers

Fix minor memory leak in Standby startup

StandbyRecoverPreparedTransactions() leaked the buffer
used for two phase state file. This was leaked once
at startup and at every shutdown checkpoint seen.

Backpatch to 9.6

Stas Kelvich

Branch
------
REL9_6_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/d7c45172a673be1fc9e51e98e45a44c14d1ee78d

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


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2016-09-08 10:20 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-09-08 10:16 pgsql: Fix minor memory leak in Standby startup Simon Riggs <simon@2ndQuadrant.com>
2016-09-08 10:20 pgsql: Fix minor memory leak in Standby startup Simon Riggs <simon@2ndQuadrant.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox