pgsql: Fix memory leak in BufFileCreateShared().

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема pgsql: Fix memory leak in BufFileCreateShared().
Дата
Msg-id E1fU3x9-0002D3-DX@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix memory leak in BufFileCreateShared().

Also this commit unifies some duplicated code in makeBufFile() and
BufFileOpenShared() into new function makeBufFileCommon().

Author: Antonin Houska
Reviewed-By: Thomas Munro, Tatsuo Ishii
Discussion: https://postgr.es/m/16139.1529049566%40localhost

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1cfdb1cb0e3f0acd0fac11537410c48dfd6d9075

Modified Files
--------------
src/backend/storage/file/buffile.c | 53 ++++++++++++++++----------------------
1 file changed, 22 insertions(+), 31 deletions(-)


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Fix off-by-one bug in XactLogCommitRecord
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: pgsql: Fix memory leak in PLySequence_ToJsonbValue()