pgsql: Replace strdup() with pstrdup(), to avoid leaking memory.

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: Replace strdup() with pstrdup(), to avoid leaking memory.
Дата
Msg-id E1QMtJK-0002er-UM@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Replace strdup() with pstrdup(), to avoid leaking memory.

It's been like this since the seg module was introduced, so backpatch to
8.2 which is the oldest supported version.

Branch
------
REL8_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/5d1923b424252e0ff2921ddaf0ce80cc73ef5560

Modified Files
--------------
contrib/seg/seg.c |    2 +-
1 files changed, 1 insertions(+), 1 deletions(-)


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Replace strdup() with pstrdup(), to avoid leaking memory.
Следующее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Fix declaration of $_TD in "strict" trigger functions