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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 225e1dd) | patch
Release PQconninfoOptions array in GetDbnameFromConnectionOptions().
2024年3月24日 16:31:05 +0000 (12:31 -0400)
2024年3月24日 16:31:05 +0000 (12:31 -0400)
commit d37e0d0c50ee560fa2e7dc2a4dc904a885957985
Release PQconninfoOptions array in GetDbnameFromConnectionOptions().

It wasn't getting freed in one code path, which Coverity identified as
a resource leak. It's probably of little consequence, but re-ordering
the code into the correct sequence is no more work than dismissing the
complaint. Minor oversight in commit a145f424d.

While here, improve the unreasonably clunky coding of
FindDbnameInConnParams: use of an output parameter is unnecessary
and prone to uninitialized-variable problems.
src/bin/pg_basebackup/streamutil.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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