]> granicus.if.org Git - postgresql/commit
Plug some trivial memory leaks in pg_dump and pg_upgrade.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 2 Jul 2015 17:58:51 +0000 (20:58 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 2 Jul 2015 17:58:51 +0000 (20:58 +0300)
commitf712289ffad7c3fb6eb3be4f81adb0aa0981c9f7
treef7ebf8219c469284f943be3de66c70ad158e2caf
parent1fd0d5ec0373666fe00db4f641490d9e82f53e01
Plug some trivial memory leaks in pg_dump and pg_upgrade.

There's no point in trying to free every small allocation in these
programs that are used in a one-shot fashion, but these ones seems like
an improvement on readability grounds.

Michael Paquier, per Coverity report.
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dumpall.c
src/bin/pg_upgrade/check.c