pgsql: Fix memory leaks in pg_combinebackup/reconstruct.c.

2025-10-22 Thread Tom Lane
Fix memory leaks in pg_combinebackup/reconstruct.c. One code path forgot to free the separately-malloc'd filename part of a struct rfile. Another place freed the filename but forgot the struct rfile itself. These seem worth fixing because with a large backup we could be dealing with many files.

pgsql: Fix memory leaks in pg_combinebackup/reconstruct.c.

2025-10-22 Thread Tom Lane
Fix memory leaks in pg_combinebackup/reconstruct.c. One code path forgot to free the separately-malloc'd filename part of a struct rfile. Another place freed the filename but forgot the struct rfile itself. These seem worth fixing because with a large backup we could be dealing with many files.

pgsql: Fix memory leaks in pg_combinebackup/reconstruct.c.

2025-10-22 Thread Tom Lane
Fix memory leaks in pg_combinebackup/reconstruct.c. One code path forgot to free the separately-malloc'd filename part of a struct rfile. Another place freed the filename but forgot the struct rfile itself. These seem worth fixing because with a large backup we could be dealing with many files.