diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2025-10-22 13:38:37 -0400 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2025-10-22 13:38:40 -0400 |
| commit | 9224c3025243a3daeb49fa58b948c6e1fdf99501 (patch) | |
| tree | 61cdd8fd6ca573e7f70e3bc4f785c502f6f3bd4b /src/bin/scripts/vacuuming.c | |
| parent | 4c5e1d0785ce150c3e6c65b009ea56815acbc8cd (diff) | |
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.
Coverity found the bug in make_rfile(). I found the other one
by manual inspection.
Diffstat (limited to 'src/bin/scripts/vacuuming.c')
0 files changed, 0 insertions, 0 deletions
