During parallel pg_dump, free commands from master

Stephen Frost <sfrost@snowman.net>

Commit: 8839e7362c68470f8db66acdfa60b95a1c5312cf
Author: Stephen Frost <sfrost@snowman.net>
Date: 2013-07-14T18:36:26Z
Releases: 9.3.0
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.

Files

PathChange+/−
src/bin/pg_dump/parallel.c modified +3 −0