Fix a couple of memory leaks in pg_restore.c

Andrew Dunstan <andrew@dunslane.net>

Commit: 6d5417e634b3841dcc44bdb43f5586bcde33ddb4
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2025-04-06T13:09:25Z
Releases: 18.0
Fix a couple of memory leaks in pg_restore.c

per complaint from Coverity.

Files

PathChange+/−
src/bin/pg_dump/pg_restore.c modified +4 −0