Re: [HACKERS] Memory leak in vacuumlo

2015-01-14 Thread Robert Haas
On Tue, Jan 13, 2015 at 2:58 AM, Michael Paquier wrote: > Coverity has pointed out that vacuumlo.c is leaking memory when > grabbing the list of candidate table names and schemas. Attached is a > patch to fix the leak. It's only leaking in error cases, the first of which is quite unlikely. But I

[HACKERS] Memory leak in vacuumlo

2015-01-12 Thread Michael Paquier
Hi all, Coverity has pointed out that vacuumlo.c is leaking memory when grabbing the list of candidate table names and schemas. Attached is a patch to fix the leak. Regards, -- Michael *** a/contrib/vacuumlo/vacuumlo.c --- b/contrib/vacuumlo/vacuumlo.c *** *** 240,245 vacuumlo(co