Re: memory leak in libxml2 - fix

Поиск
Список
Период
Сортировка
От Itagaki Takahiro
Тема Re: memory leak in libxml2 - fix
Дата
Msg-id AANLkTi=Z6FOV_M90c=L7jSmgwKhJn+Yei3ZopnACr4rv@mail.gmail.com
обсуждение исходный текст
Ответ на memory leak in libxml2 - fix  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: memory leak in libxml2 - fix  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
On Fri, Nov 26, 2010 at 17:59, Pavel Stehule <pavel.stehule@gmail.com> wrote:
> our customer showed a very significant memory leak in xml2.
> It never release a memory allocated for context and doctree.

Why did you change doctree and ctxt to global variables?
I'm not sure why /* xmlFreeDoc(doctree); */ is commented out
at the end of pgxml_xpath(), but is it enough to enable the code?

-- 
Itagaki Takahiro


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

Предыдущее
От: Radosław Smogura
Дата:
Сообщение: Re: [JDBC] JDBC and Binary protocol error, for some statements
Следующее
От: Pavel Stehule
Дата:
Сообщение: ToDo: enhanced diagnostic for plpgsql