Hi. Per Coverity.
The commit 9758174 <http://9758174e2e5cd278cf37e0980da76b51890e0011>, included the source src/backend/replication/logical/conflict.c. The function *errdetail_apply_conflict* reports potential conflicts. But do not care about possible resource leaks. However, the leaked size can be considerable, since it can have logs with the LOG level. The function *ReportSlotInvalidation* has similar utility, but on the contrary, be careful not to leak. IMO, these potential leaks need to be fixed. Patch attached. best regards, Ranier Vilela
0001-fix-possible-resources-leaks-conflict.patch
Description: Binary data