pgsql: During parallel pg_dump, free commands from master

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: During parallel pg_dump, free commands from master
Date: 2013-07-14 18:40:28
Message-ID: E1UyRDg-0005z1-64@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

During parallel pg_dump, free commands from master

The command strings read by the child processes during parallel
pg_dump, after being read and handled, were not being free'd.
This patch corrects this relatively minor memory leak.

Leak found by the Coverity scanner.

Back patch to 9.3 where parallel pg_dump was introduced.

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/8839e7362c68470f8db66acdfa60b95a1c5312cf

Modified Files
--------------
src/bin/pg_dump/parallel.c | 3 +++
1 file changed, 3 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Stephen Frost 2013-07-14 19:39:10 pgsql: pg_receivexlog - Exit on failure to parse
Previous Message Stephen Frost 2013-07-14 18:40:03 pgsql: During parallel pg_dump, free commands from master