Fix memory leak.

Tatsuo Ishii <ishii@postgresql.org>

Commit: 969274d813018b08389956e493f691671f0d84f1
Author: Tatsuo Ishii <ishii@postgresql.org>
Date: 2018-06-15T07:32:59Z
Releases: 11.0
Fix memory leak.

Memory is allocated twice for "file" and "files" variables in
BufFileOpenShared().

Author: Antonin Houska
Discussion: https://postgr.es/m/11329.1529045692%40localhost

Files

PathChange+/−
src/backend/storage/file/buffile.c modified +2 −2

Discussion