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(-)
