]> granicus.if.org Git - postgresql/commit
Fix memory leak in BufFileCreateShared().
authorTatsuo Ishii <ishii@postgresql.org>
Sat, 16 Jun 2018 05:21:08 +0000 (14:21 +0900)
committerTatsuo Ishii <ishii@postgresql.org>
Sat, 16 Jun 2018 05:21:08 +0000 (14:21 +0900)
commit1cfdb1cb0e3f0acd0fac11537410c48dfd6d9075
treea6fb15def718738117e60e05555d44cf559a50ff
parentff03112bdc70541382b39fa4e36b9a9ad93b4b73
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
src/backend/storage/file/buffile.c