On Fri, Jan 17, 2014 at 12:16 AM, Tom Lane <t...@sss.pgh.pa.us> wrote: > PS: off topic, but isn't ParseConfigDirectory leaking the result > of AbsoluteConfigLocation? In both normal and error paths?
Yes, I also think it leaks in both cases and similar leak is present in ParseConfigFile(). I have tried to fix both of these leaks with attached patch. With Regards, Amit Kapila. EnterpriseDB: http://www.enterprisedb.com
fix_mem_leak_parse_config.patch
Description: Binary data
-- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers