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:35:26 +0000 (14:35 -0400)
commit234e4cf6e1eac2f0e514379a2a533ffb71b33732
tree172ff3db683d5632a2daca20bb42e42e348c570f
parent070518ddab2c94afea119f2b1944c05d16792b07
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