Re: [PATCH] Make gram.y use palloc/pfree for memory management

Поиск
Список
Период
Сортировка
От Marko Kreen
Тема Re: [PATCH] Make gram.y use palloc/pfree for memory management
Дата
Msg-id e51f66da0809020329x2eb85e55g70e8b5d1cf7ed577@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [PATCH] Make gram.y use palloc/pfree for memory management  ("Marko Kreen" <markokr@gmail.com>)
Ответы Re: [PATCH] Make gram.y use palloc/pfree for memory management
Список pgsql-hackers
On 9/1/08, Marko Kreen <markokr@gmail.com> wrote:
> First a correction, overriding malloc/free seems dangerous they
>  seems to leak out, so correct would be to use YYMALLOC/YYFREE.
>  This leaves 1.875 potentially leaking, but danger seems small.

Here is the safer patch.  As the chance for the leak is rare,
leaving 1.875 vulnerable should not be problem.

--
marko

Вложения

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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Window functions patch v04 for the September commit fest
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: rmgr hooks and contrib/rmgr_hook