fix memory leak in libpq

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

fix memory leak in libpq

От:
Neil Conway <neilc@samurai.com>
Дата:
Вложения:
This patch fixes a small memory leak in libpq: the 'pstatus' field of
PGconn is a linked list of malloc'ed nodes, so it should be freed on
PQfinish().

-Neil

Re: fix memory leak in libpq

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Neil Conway  writes:
> This patch fixes a small memory leak in libpq: the 'pstatus' field of
> PGconn is a linked list of malloc'ed nodes, so it should be freed on
> PQfinish().

Arghh!  Can't believe I forgot to do that.  Patch applied --- many thanks.

			regards, tom lane
FAQ