Re: plpython: fix memory leak

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: plpython: fix memory leak
Дата
Msg-id 1140466341.2615.61.camel@localhost.localdomain
обсуждение исходный текст
Ответ на plpython: fix memory leak  (Neil Conway <neilc@samurai.com>)
Список pgsql-patches
On Sun, 2006-02-19 at 20:34 -0500, Neil Conway wrote:
> Attached is a patch that fixes three Python reference leaks in
> PLy_traceback(): the objects returned by PyErr_Fetch() are owned by the
> caller, so their reference count should be decremented.

Applied to HEAD and back branches. I also noticed a minor bug in
PLy_modify_tuple(): we don't own a reference to `platt', so we shouldn't
try to decrement its refcount. I only bothered fixing the latter bug in
8.0+

-Neil



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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: WIP: further sorting speedup
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: [PATCH] WIP: Create shell-types explicitly