Re: [HACKERS] Fixes for a couple of resource leaks

2015-07-12 Thread Tom Lane
Michael Paquier michael.paqu...@gmail.com writes: Coverity is pointing out a couple of resource leaks: ... Attached is a patch to address all those things. Backpatches would be good to have as well. I'll take this up, unless some other committer is already on it.

Re: [HACKERS] Fixes for a couple of resource leaks

2015-07-12 Thread Michael Paquier
On Mon, Jul 13, 2015 at 4:06 AM, Tom Lane t...@sss.pgh.pa.us wrote: Michael Paquier michael.paqu...@gmail.com writes: Coverity is pointing out a couple of resource leaks: ... Attached is a patch to address all those things. Backpatches would be good to have as well. I'll take this up,

[HACKERS] Fixes for a couple of resource leaks

2015-07-12 Thread Michael Paquier
Hi all, Coverity is pointing out a couple of resource leaks: - In DropReplicationSlot@streamutil.c, query is leaked. - In getTransforms@pg_dump.c, the alloced result of get_language_name is not free'd. Other code paths calling this routine do the job. - In