pgsql: Fix memory leak when deallocating prepared statement in postgres

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix memory leak when deallocating prepared statement in postgres
Date: 2021-01-26 09:43:21
Message-ID: E1l4Ksb-00038c-PJ@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix memory leak when deallocating prepared statement in postgres_fdw

The leak is minor, so no backpatch is done. Oversight in 21734d2.

Reported-by: Tom Lane

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7b4c660466dd8a1d25ca316ac02099a7cf0e5896

Modified Files
--------------
contrib/postgres_fdw/postgres_fdw.c | 1 +
1 file changed, 1 insertion(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2021-01-26 10:54:46 Re: pgsql: Improve performance of repeated CALLs within plpgsql procedures.
Previous Message Fujii Masao 2021-01-26 08:21:55 pgsql: postgres_fdw: Fix test failure with -DENFORCE_REGRESSION_TEST_NA