Thread: pgsql: Fix minor memory leaks in pg_dump.

pgsql: Fix minor memory leaks in pg_dump.

From
Tom Lane
Date:
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(+)