pgsql: Fix memory leak.

From: Tatsuo Ishii <ishii(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix memory leak.
Date: 2018-06-15 07:41:57
Message-ID: E1fTjMr-0001Vd-BH@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/969274d813018b08389956e493f691671f0d84f1

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

Browse pgsql-committers by date

  From Date Subject
Next Message Alexander Korotkov 2018-06-15 12:06:47 pgsql: Fix memory leak in PLySequence_ToJsonbValue()
Previous Message Tatsuo Ishii 2018-06-15 04:53:00 Re: pgsql: Convert debug message from ereport to elog