Hi all,
Coverity is pointing out a couple of resource leaks: - In [email protected], 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 libpqGetCurrentXlogInsertLocation@libpq_fetch.c (pg_rewind), the value "val" returned by run_simple_query should be free'd. Other code paths do so. - In libpqProcessFileList@libpq_fetch.c, a call to PQclear is missing for a query result. - In [email protected], a call to PQclear is missing. Attached is a patch to address all those things. Backpatches would be good to have as well. Regards, -- Michael
20150712_memory_leaks.patch
Description: binary/octet-stream
-- Sent via pgsql-hackers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
