]> granicus.if.org Git - postgresql/commit
During parallel pg_dump, free commands from master
authorStephen Frost <sfrost@snowman.net>
Sun, 14 Jul 2013 18:35:26 +0000 (14:35 -0400)
committerStephen Frost <sfrost@snowman.net>
Sun, 14 Jul 2013 18:36:26 +0000 (14:36 -0400)
commit8839e7362c68470f8db66acdfa60b95a1c5312cf
tree5ed9460ca27a3995c770b96fe920453ccf0c0305
parentfb7c0ac42e1a8e3cde74e83e2c758ada8c62a35e
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.
src/bin/pg_dump/parallel.c