pgsql: Fix minor memory leaks in pg_dump. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix minor memory leaks in pg_dump.
Date
Msg-id E1tiJxW-006nUB-9L@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix minor memory leaks in pg_dump.

Coverity reported the two oversights in getPublicationTables.
Valgrind found the one in determineNotNullFlags.

The mistakes in getPublicationTables seem too minor to be worth
back-patching.  determineNotNullFlags could be run enough times
to matter, but that code is new in v18.  So, no back-patch.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/fcd77a6873018c06a34761b7be0c0d1fd847fdd5

Modified Files
--------------
src/bin/pg_dump/pg_dump.c | 3 +++
1 file changed, 3 insertions(+)


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: pgsql: ci: Test NetBSD and OpenBSD
Next
From: Nathan Bossart
Date:
Subject: pgsql: Remove unneeded volatile qualifier in fmgr.c.