postgresql/src/bin/pg_verifybackup
Andrew Dunstan 661ab4e185 Fix some memory leaks associated with parsing json and manifests
Coverity complained about not freeing some memory associated with
incrementally parsing backup manifests. To fix that, provide and use a new
shutdown function for the JsonManifestParseIncrementalState object, in
line with a suggestion from Tom Lane.

While analysing the problem, I noticed a buglet in freeing memory for
incremental json lexers. To fix that remove a bogus condition on
freeing the memory allocated for them.
2024-04-12 10:32:30 -04:00
..
po Update copyright for 2024 2024-01-03 20:49:05 -05:00
t Support json_errdetail in FRONTEND code 2024-03-17 23:56:15 +01:00
.gitignore Rename pg_validatebackup to pg_verifybackup. 2020-04-12 11:26:05 -04:00
Makefile Move src/bin/pg_verifybackup/parse_manifest.c into src/common. 2023-12-19 15:24:31 -05:00
meson.build Update copyright for 2024 2024-01-03 20:49:05 -05:00
nls.mk Move src/bin/pg_verifybackup/parse_manifest.c into src/common. 2023-12-19 15:24:31 -05:00
pg_verifybackup.c Fix some memory leaks associated with parsing json and manifests 2024-04-12 10:32:30 -04:00