Hi, Per Coverity.
The function scan_for_existing_tablespaces in (src/bin/pg_combinebackup/pg_combinebackup.c) Has a resource leak. The function opendir opendir <https://pubs.opengroup.org/onlinepubs/009604599/functions/opendir.html> Must be freed with closedir <https://pubs.opengroup.org/onlinepubs/009604599/functions/closedir.html> The commit affected is dc21234 <http://dc212340058b4e7ecfc5a7a81ec50e7a207bf288> Trivial patch attached. Best regards, Ranier Vilela
fix-resource-leak-pg_combinebackup.patch
Description: Binary data