Memory leak in vacuumlo

Поиск
Список
Период
Сортировка
Искать

Memory leak in vacuumlo

От:
Michael Paquier <michael.paquier@gmail.com>
Дата:
Вложения:
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

Re: Memory leak in vacuumlo

От:
Robert Haas <robertmhaas@gmail.com>
Дата:
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 don't see that as a reason not to fix it, so --
committed.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


FAQ