pgsql: In bttext_abbrev_convert, move pfree to the right place.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: In bttext_abbrev_convert, move pfree to the right place.
Дата
Msg-id E1Z9mcs-0000Pc-QY@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
In bttext_abbrev_convert, move pfree to the right place.

Without this, we might access memory that's already been freed, or
leak memory if in the C locale.

Peter Geoghegan

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/b48ecf862b3896631660ee8d38054aded82a4f8b

Modified Files
--------------
src/backend/utils/adt/varlena.c |   10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Initialize GIN metapage correctly when replaying metapage-update
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Don't call PageGetSpecialPointer() on page until it's been initi