The attached patch fixes 2 memory leaks in pg_dump, as well as correctsa spelling mistake and deletes an antiquated comment.
Cheers,
Neil
-- Neil Conway <neilconway(at)rogers(dot)com>PGP Key ID: DB3C29FC