Re: [PATCHES] ldap: fix resource leak

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCHES] ldap: fix resource leak
Дата
Msg-id 9974.1162701292@sss.pgh.pa.us
обсуждение исходный текст
Ответы Re: [PATCHES] ldap: fix resource leak  (Neil Conway <neilc@samurai.com>)
Список pgsql-hackers
Neil Conway <neilc@samurai.com> writes:
> I fixed this by adding the appropriate ldap_unbind() calls in error
> control paths. An alternative would be to have a single place do the
> error handling, and jump to that via goto.

Perhaps use a PG_TRY construct?

            regards, tom lane

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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Design Considerations for New Authentication Methods
Следующее
От: mark@mark.mielke.cc
Дата:
Сообщение: PostgreSQL 8.2 (from CVS devel) first impressions