git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: a7e5f7b) | patch
Fix minor leak in pg_dump
2014年1月26日 22:58:48 +0000 (17:58 -0500)
2014年1月26日 22:58:48 +0000 (17:58 -0500)
commit 152d24f5ddbc535bb437b57856fa3c7c5c630472
Fix minor leak in pg_dump

Move allocation to after we check the remote server version, to avoid
a possible, very minor, memory leak. This makes us more consistent
throughout as most places in pg_dump are done in the same way (due, in
part, to previous fixes like this).

Spotted by the Coverity scanner.
src/bin/pg_dump/pg_dump.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /