Fix some memory leaks in ecpg.addons

Поиск
Список
Период
Сортировка
От Tristan Partin
Тема Fix some memory leaks in ecpg.addons
Дата
Msg-id CWTLB2WWVJJ2.2YV6ERNOL1WVF@neon.tech
обсуждение исходный текст
Ответы Re: Fix some memory leaks in ecpg.addons  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
clang and gcc both now support -fsanitize=address,undefined. These are
really useful to me personally when trying to debug issues.
Unfortunately ecpg code has a ton of memory leaks, which makes builds
really painful. It would be great to fix all of them, but I don't have
the patience to try to read flex/bison code. Here are two memory leak
fixes in any case.

--
Tristan Partin
Neon (https://neon.tech)

Вложения

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Add PQsendSyncMessage() to libpq
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Fix some memory leaks in ecpg.addons