git.postgresql.org Git - postgresql.git/commit
Tue, 9 Apr 2024 13:07:14 +0000 (09:07 -0400)
2024年4月12日 14:32:30 +0000 (10:32 -0400)
commit 661ab4e185784db79c194b5758555b1db3f30483
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.
This is the main PostgreSQL git repository.
RSS
Atom