Re: potential memory leak in pg_regcomp()

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: potential memory leak in pg_regcomp()
Дата
Msg-id 802565.1658548165@sss.pgh.pa.us
обсуждение исходный текст
Ответ на potential memory leak in pg_regcomp()  (Zhihong Yu <zyu@yugabyte.com>)
Список pgsql-hackers
Zhihong Yu <zyu@yugabyte.com> writes:
> I was looking at pg_regcomp():
>     re->re_guts = VS(MALLOC(sizeof(struct guts)));
> I did some search trying to find where re_guts is freed but haven't
> found it.

In rfree(), which is called from freev().

            regards, tom lane



В списке pgsql-hackers по дате отправления: